llvm-project/lldb/source/Host
Adrian Prantl 1e05d7b3d3 Remap the target (Xcode) SDK directory to the host SDK directory.
This is mostly useful for Swift support; it allows LLDB to substitute
a matching SDK it shipped with instead of the sysroot path that was
used at compile time.

The goal of this is to make the Xcode SDK something that behaves more
like the compiler's resource directory, as in that it ships with LLDB
rather than with the debugged program. This important primarily for
importing Swift and Clang modules in the expression evaluator, and
getting at the APINotes from the SDK in Swift.

For a cross-debugging scenario, this means you have to have an SDK for
your target installed alongside LLDB. In Xcode this will always be the
case.

rdar://problem/60640017

Differential Revision: https://reviews.llvm.org/D76471
2020-04-06 15:51:30 -07:00
..
android [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
common [lldb] NFC: Fix trivial typo in comments, documents, and messages 2020-04-07 01:06:16 +09:00
freebsd [lldb/Host] s/FindProcesses/FindProcessesImpl/ in freebsd/Host.cpp 2020-03-15 20:36:40 -07:00
linux [lldb/Reproducers] Intercept the FindProcesses API 2020-03-13 09:31:35 -07:00
macosx Remap the target (Xcode) SDK directory to the host SDK directory. 2020-04-06 15:51:30 -07:00
netbsd [lldb] [Host/NetBSD] Rename Host.cpp to HostNetBSD.cpp 2020-03-17 11:42:39 +01:00
openbsd [lldb/Reproducers] Intercept the FindProcesses API 2020-03-13 09:31:35 -07:00
posix Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
windows Recommit "[lldb] Fix TestSettings.test_pass_host_env_vars on windows" 2020-04-02 11:52:56 +02:00
CMakeLists.txt [lldb] [Host/NetBSD] Rename Host.cpp to HostNetBSD.cpp 2020-03-17 11:42:39 +01:00