Add a getter to retrieve the XcodeSDK from Module and unit-test it. (NFC)
authorAdrian Prantl <aprantl@apple.com>
Fri, 24 Apr 2020 23:49:37 +0000 (16:49 -0700)
committerAdrian Prantl <aprantl@apple.com>
Sat, 25 Apr 2020 00:00:34 +0000 (17:00 -0700)
commit06e4f69b225753af396a28be69637f4fc2d8839d
treeec3690c0ca652a9b44a27aef88d8476bd3c42ca0
parentaf015c1a33b772502be579eb5f62ae3847f27d97
Add a getter to retrieve the XcodeSDK from Module and unit-test it. (NFC)

This API is used by swift-lldb.

(Recommit with missing file git-added)
lldb/include/lldb/Core/Module.h
lldb/unittests/SymbolFile/DWARF/CMakeLists.txt
lldb/unittests/SymbolFile/DWARF/DWARFASTParserClangTests.cpp
lldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp [new file with mode: 0644]
lldb/unittests/TestingSupport/Symbol/YAMLModuleTester.cpp
lldb/unittests/TestingSupport/Symbol/YAMLModuleTester.h