[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.
rdar://problem/64000666
https://reviews.llvm.org/D81210
Files:
lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81210.268637.patch
Type: text/x-patch
Size: 4153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200605/6520c2f3/attachment.bin>
More information about the lldb-commits
mailing list