clayborg added a comment.

Also be careful if the user uses a symlink to not resolve the link. If a user 
tries to debug clang++:

  $ ls -AFlG 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang*
  -rwxr-xr-x  1 root  wheel  81666656 Jul 12 21:48 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang*
  lrwxr-xr-x  1 root  wheel         5 Jul 25 07:57 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++@
 -> clang

We don't want to resolve it to "clang" or it will change the behavior for any 
program that checks argv[0] and doesn't something different depending on what 
that values is.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65611/new/

https://reviews.llvm.org/D65611



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to