Home
last modified time | relevance | path

Searched refs:XcodeSDK (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/lldb/unittests/Utility/
DXcodeSDKTest.cpp22 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/
DXcodeSDK.cpp21 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 …]
DCMakeLists.txt76 XcodeSDK.cpp
/external/llvm-project/lldb/include/lldb/Utility/
DXcodeSDK.h24 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/
DPlatformDarwin.cpp1279 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 …]
DPlatformAppleSimulator.cpp42 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()
DPlatformDarwin.h145 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);
DPlatformAppleSimulator.h33 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;
DPlatformMacOSX.h62 target, options, lldb_private::XcodeSDK::Type::MacOSX); in AddClangModuleCompilationOptions()
DPlatformRemoteDarwinDevice.h48 target, options, lldb_private::XcodeSDK::Type::iPhoneOS); in AddClangModuleCompilationOptions()
DPlatformMacOSX.cpp132 HostInfo::GetXcodeSDKPath(lldb_private::XcodeSDK::GetAnyMacOS())); in GetSDKDirectory()
/external/llvm-project/lldb/unittests/Host/
DHostInfoTest.cpp56 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/
DXcodeSDKModuleTests.cpp78 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/
DHostInfoMacOSX.mm326 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/
DHostInfoMacOSX.h39 static llvm::StringRef GetXcodeSDKPath(XcodeSDK sdk);
/external/llvm-project/lldb/include/lldb/Host/
DHostInfoBase.h105 static llvm::StringRef GetXcodeSDKPath(XcodeSDK sdk) { return {}; } in GetXcodeSDKPath()
/external/llvm-project/lldb/include/lldb/Symbol/
DSymbolFile.h133 virtual XcodeSDK ParseXcodeSDK(CompileUnit &comp_unit) { return {}; } in ParseXcodeSDK()
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DSymbolFileDWARFDebugMap.h60 lldb_private::XcodeSDK
DSymbolFileDWARF.h109 lldb_private::XcodeSDK
DSymbolFileDWARFDebugMap.cpp632 XcodeSDK SymbolFileDWARFDebugMap::ParseXcodeSDK(CompileUnit &comp_unit) { in ParseXcodeSDK()
DSymbolFileDWARF.cpp803 XcodeSDK SymbolFileDWARF::ParseXcodeSDK(CompileUnit &comp_unit) { in ParseXcodeSDK()
/external/llvm-project/lldb/source/Core/
DModule.cpp1625 XcodeSDK sdk(sdk_name.str()); in RegisterXcodeSDK()