llvm-project/lldb/source/Plugins/Platform/MacOSX
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
..
objcxx [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
CMakeLists.txt [lldb] [cmake] Support linking against clang-cpp dylib 2019-10-04 12:03:03 +00:00
PlatformAppleSimulator.cpp [lldb/PlatformMacOSX] Re-implement GetDeveloperDirectory 2020-03-27 12:36:56 -07:00
PlatformAppleSimulator.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
PlatformAppleTVSimulator.cpp [lldb/PlatformMacOSX] Re-implement GetDeveloperDirectory 2020-03-27 12:36:56 -07:00
PlatformAppleTVSimulator.h Remap the target (Xcode) SDK directory to the host SDK directory. 2020-04-06 15:51:30 -07:00
PlatformAppleWatchSimulator.cpp [lldb/PlatformMacOSX] Re-implement GetDeveloperDirectory 2020-03-27 12:36:56 -07:00
PlatformAppleWatchSimulator.h Remap the target (Xcode) SDK directory to the host SDK directory. 2020-04-06 15:51:30 -07:00
PlatformDarwin.cpp Remap the target (Xcode) SDK directory to the host SDK directory. 2020-04-06 15:51:30 -07:00
PlatformDarwin.h Remap the target (Xcode) SDK directory to the host SDK directory. 2020-04-06 15:51:30 -07:00
PlatformDarwinKernel.cpp [lldb/PlatformMacOSX] Re-implement GetDeveloperDirectory 2020-03-27 12:36:56 -07:00
PlatformDarwinKernel.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
PlatformMacOSX.cpp Remap the target (Xcode) SDK directory to the host SDK directory. 2020-04-06 15:51:30 -07:00
PlatformMacOSX.h Remap the target (Xcode) SDK directory to the host SDK directory. 2020-04-06 15:51:30 -07:00
PlatformMacOSXProperties.td [lldb] Qualify includes of Properties[Enum].inc files. NFC 2019-07-29 17:22:10 +00:00
PlatformRemoteAppleBridge.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
PlatformRemoteAppleBridge.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
PlatformRemoteAppleTV.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
PlatformRemoteAppleTV.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
PlatformRemoteAppleWatch.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
PlatformRemoteAppleWatch.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
PlatformRemoteDarwinDevice.cpp [lldb/PlatformMacOSX] Re-implement GetDeveloperDirectory 2020-03-27 12:36:56 -07:00
PlatformRemoteDarwinDevice.h Remap the target (Xcode) SDK directory to the host SDK directory. 2020-04-06 15:51:30 -07:00
PlatformRemoteiOS.cpp [lldb/Plugin] s/LLDB_PLUGIN/LLDB_PLUGIN_DEFINE/ (NFC) 2020-02-14 09:58:24 -08:00
PlatformRemoteiOS.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
PlatformiOSSimulator.cpp [lldb/PlatformMacOSX] Re-implement GetDeveloperDirectory 2020-03-27 12:36:56 -07:00
PlatformiOSSimulator.h Remap the target (Xcode) SDK directory to the host SDK directory. 2020-04-06 15:51:30 -07:00