[Lldb-commits] [PATCH] D81210: Teach GetXcodeSDK to look in the Xcode that contains LLDB
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 4 19:19:03 PDT 2020
aprantl created this revision.
aprantl added reviewers: JDevlieghere, friss, jingham.
aprantl added a parent revision: D81209: Move GetXcode*Directory into HostInfo (NFC).
Teach GetXcodeSDK to look in the Xcode that contains LLDB instead of preferring the one chosen with xcode-select. Because we're using xcrun to find matching SDK's you can now get into a situation where LLDB, when run from a non-xcode-selected Xcode will find a matching SDK in the xcode-selected Xcode, which can cause anything from mild performance degradation to really confusing Clang compile errors, if the other Xcode is, for example, older, or missing an SDK.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4153 bytes
Desc: not available
More information about the lldb-commits