/external/llvm-project/lldb/unittests/Utility/ |
D | XcodeSDKTest.cpp | 22 EXPECT_EQ(XcodeSDK::GetAnyMacOS().GetType(), XcodeSDK::MacOSX); in TEST() 23 EXPECT_EQ(XcodeSDK("MacOSX.sdk").GetType(), XcodeSDK::MacOSX); in TEST() 24 EXPECT_EQ(XcodeSDK("iPhoneSimulator.sdk").GetType(), XcodeSDK::iPhoneSimulator); in TEST() 25 EXPECT_EQ(XcodeSDK("iPhoneOS.sdk").GetType(), XcodeSDK::iPhoneOS); in TEST() 26 EXPECT_EQ(XcodeSDK("AppleTVSimulator.sdk").GetType(), XcodeSDK::AppleTVSimulator); in TEST() 27 EXPECT_EQ(XcodeSDK("AppleTVOS.sdk").GetType(), XcodeSDK::AppleTVOS); in TEST() 28 EXPECT_EQ(XcodeSDK("WatchSimulator.sdk").GetType(), XcodeSDK::WatchSimulator); in TEST() 29 EXPECT_EQ(XcodeSDK("WatchOS.sdk").GetType(), XcodeSDK::watchOS); in TEST() 30 EXPECT_EQ(XcodeSDK("Linux.sdk").GetType(), XcodeSDK::Linux); in TEST() 31 EXPECT_EQ(XcodeSDK("MacOSX.sdk").GetVersion(), llvm::VersionTuple()); in TEST() [all …]
|
/external/llvm-project/lldb/source/Utility/ |
D | XcodeSDK.cpp | 21 static llvm::StringRef GetName(XcodeSDK::Type type) { in GetName() 23 case XcodeSDK::MacOSX: in GetName() 25 case XcodeSDK::iPhoneSimulator: in GetName() 27 case XcodeSDK::iPhoneOS: in GetName() 29 case XcodeSDK::AppleTVSimulator: in GetName() 31 case XcodeSDK::AppleTVOS: in GetName() 33 case XcodeSDK::WatchSimulator: in GetName() 35 case XcodeSDK::watchOS: in GetName() 37 case XcodeSDK::bridgeOS: in GetName() 39 case XcodeSDK::Linux: in GetName() [all …]
|
D | CMakeLists.txt | 76 XcodeSDK.cpp
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | XcodeSDK.h | 24 class XcodeSDK { 56 XcodeSDK() = default; 58 XcodeSDK(Info info); 62 XcodeSDK(std::string &&name) : m_name(std::move(name)) {} in XcodeSDK() function 63 static XcodeSDK GetAnyMacOS() { return XcodeSDK("MacOSX.sdk"); } in GetAnyMacOS() 68 void Merge(const XcodeSDK &other); 70 XcodeSDK &operator=(const XcodeSDK &other); 71 XcodeSDK(const XcodeSDK&) = default; 72 bool operator==(const XcodeSDK &other); 89 static XcodeSDK::Type GetSDKTypeForTriple(const llvm::Triple &triple);
|
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/ |
D | PlatformDarwin.cpp | 1279 if (XcodeSDK::SDKSupportsModules(enumerator_info->sdk_type, spec)) { in DirectoryEnumerator() 1287 FileSpec PlatformDarwin::FindSDKInXcodeForModules(XcodeSDK::Type sdk_type, in FindSDKInXcodeForModules() 1313 FileSpec PlatformDarwin::GetSDKDirectoryForModules(XcodeSDK::Type sdk_type) { in GetSDKDirectoryForModules() 1319 case XcodeSDK::Type::MacOSX: in GetSDKDirectoryForModules() 1322 case XcodeSDK::Type::iPhoneSimulator: in GetSDKDirectoryForModules() 1325 case XcodeSDK::Type::iPhoneOS: in GetSDKDirectoryForModules() 1328 case XcodeSDK::Type::WatchSimulator: in GetSDKDirectoryForModules() 1331 case XcodeSDK::Type::AppleTVSimulator: in GetSDKDirectoryForModules() 1341 if (sdk_type == XcodeSDK::Type::MacOSX) { in GetSDKDirectoryForModules() 1345 if (XcodeSDK::SDKSupportsModules(XcodeSDK::Type::MacOSX, version)) { in GetSDKDirectoryForModules() [all …]
|
D | PlatformAppleSimulator.cpp | 42 llvm::StringRef sdk, lldb_private::XcodeSDK::Type sdk_type, in PlatformAppleSimulator() 283 llvm::StringRef sdk, lldb_private::XcodeSDK::Type sdk_type, in CreateInstance() 511 sdk = HostInfo::GetXcodeSDKPath(XcodeSDK(std::move(preferred))); in GetXcodeSDKDir() 513 sdk = HostInfo::GetXcodeSDKPath(XcodeSDK(std::move(secondary))); in GetXcodeSDKDir() 534 sdk = HostInfo::GetXcodeSDKPath(XcodeSDK("iPhoneSimulator.Internal.sdk")); in CreateInstance() 536 sdk = HostInfo::GetXcodeSDKPath(XcodeSDK("iPhoneSimulator.sdk")); in CreateInstance() 560 XcodeSDK::Type::iPhoneSimulator, in CreateInstance() 597 XcodeSDK::Type::AppleTVSimulator, in CreateInstance() 638 XcodeSDK::Type::WatchSimulator, in CreateInstance()
|
D | PlatformDarwin.h | 145 lldb_private::XcodeSDK::Type sdk_type; 153 FindSDKInXcodeForModules(lldb_private::XcodeSDK::Type sdk_type, 157 GetSDKDirectoryForModules(lldb_private::XcodeSDK::Type sdk_type); 161 lldb_private::XcodeSDK::Type sdk_type);
|
D | PlatformAppleSimulator.h | 33 llvm::StringRef sdk, lldb_private::XcodeSDK::Type sdk_type, 43 llvm::StringRef sdk, lldb_private::XcodeSDK::Type sdk_type, 106 lldb_private::XcodeSDK::Type m_sdk_type;
|
D | PlatformMacOSX.h | 62 target, options, lldb_private::XcodeSDK::Type::MacOSX); in AddClangModuleCompilationOptions()
|
D | PlatformRemoteDarwinDevice.h | 48 target, options, lldb_private::XcodeSDK::Type::iPhoneOS); in AddClangModuleCompilationOptions()
|
D | PlatformMacOSX.cpp | 132 HostInfo::GetXcodeSDKPath(lldb_private::XcodeSDK::GetAnyMacOS())); in GetSDKDirectory()
|
/external/llvm-project/lldb/unittests/Host/ |
D | HostInfoTest.cpp | 56 EXPECT_FALSE(HostInfo::GetXcodeSDKPath(XcodeSDK("MacOSX.sdk")).empty()); in TEST_F() 58 EXPECT_FALSE(HostInfo::GetXcodeSDKPath(XcodeSDK("MacOSX9999.sdk")).empty()); in TEST_F() 60 EXPECT_TRUE(HostInfo::GetXcodeSDKPath(XcodeSDK("CeciNestPasUnOS.sdk")).empty()); in TEST_F()
|
/external/llvm-project/lldb/unittests/SymbolFile/DWARF/ |
D | XcodeSDKModuleTests.cpp | 78 XcodeSDK sdk = sym_file.ParseXcodeSDK(*comp_unit); in TEST_F() 79 ASSERT_EQ(sdk.GetType(), XcodeSDK::Type::MacOSX); in TEST_F()
|
/external/llvm-project/lldb/source/Host/macosx/objcxx/ |
D | HostInfoMacOSX.mm | 326 XcodeSDK::FindXcodeContentsDirectoryInPath(fspec.GetPath()); 338 XcodeSDK::FindXcodeContentsDirectoryInPath(env_developer_dir); 345 FileSpec fspec(HostInfo::GetXcodeSDKPath(XcodeSDK::GetAnyMacOS())); 349 XcodeSDK::FindXcodeContentsDirectoryInPath(fspec.GetPath()); 373 static std::string GetXcodeSDK(XcodeSDK sdk) { 374 XcodeSDK::Info info = sdk.Parse(); 375 std::string sdk_name = XcodeSDK::GetCanonicalName(info); 422 XcodeSDK::FindXcodeContentsDirectoryInPath(fspec.GetPath()); 440 if (info.type == XcodeSDK::Type::MacOSX && !info.version.empty() && 455 sdk_name = XcodeSDK::GetCanonicalName(info); [all …]
|
/external/llvm-project/lldb/include/lldb/Host/macosx/ |
D | HostInfoMacOSX.h | 39 static llvm::StringRef GetXcodeSDKPath(XcodeSDK sdk);
|
/external/llvm-project/lldb/include/lldb/Host/ |
D | HostInfoBase.h | 105 static llvm::StringRef GetXcodeSDKPath(XcodeSDK sdk) { return {}; } in GetXcodeSDKPath()
|
/external/llvm-project/lldb/include/lldb/Symbol/ |
D | SymbolFile.h | 133 virtual XcodeSDK ParseXcodeSDK(CompileUnit &comp_unit) { return {}; } in ParseXcodeSDK()
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
D | SymbolFileDWARFDebugMap.h | 60 lldb_private::XcodeSDK
|
D | SymbolFileDWARF.h | 109 lldb_private::XcodeSDK
|
D | SymbolFileDWARFDebugMap.cpp | 632 XcodeSDK SymbolFileDWARFDebugMap::ParseXcodeSDK(CompileUnit &comp_unit) { in ParseXcodeSDK()
|
D | SymbolFileDWARF.cpp | 803 XcodeSDK SymbolFileDWARF::ParseXcodeSDK(CompileUnit &comp_unit) { in ParseXcodeSDK()
|
/external/llvm-project/lldb/source/Core/ |
D | Module.cpp | 1625 XcodeSDK sdk(sdk_name.str()); in RegisterXcodeSDK()
|