[Lldb-commits] [PATCH] D65611: [Driver] Expand the target in the driver.

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 2 15:22:53 PDT 2019


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





More information about the lldb-commits mailing list