[Lldb-commits] [lldb] [lldb][HostInfoMacOSX] Search CommandLineTools directory when looking up SDK paths (PR #128712)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 28 05:01:55 PST 2025


Michael137 wrote:

Ok so latest approach is to check the `DW_AT_LLVM_sysroot`, and if that path exists, we don't run xcrun. I removed the `GetSDKPathFromDebugInfo` overload that iterated over all CUs and merged the XcodeSDK objects (@adrian-prantl said this was flawed anyway and we shouldn't require this overload). So now I'm just looking at the first CUs `DW_AT_LLVM_sysroot`.

https://github.com/llvm/llvm-project/pull/128712


More information about the lldb-commits mailing list