Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/lldb/unittests/Utility/
H A DXcodeSDKTest.cpp22 EXPECT_EQ(XcodeSDK::GetAnyMacOS().GetType(), XcodeSDK::MacOSX); in TEST()
23 EXPECT_EQ(XcodeSDK("MacOSX.sdk").GetType(), XcodeSDK::MacOSX); in TEST()
25 EXPECT_EQ(XcodeSDK("iPhoneOS.sdk").GetType(), XcodeSDK::iPhoneOS); 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()
35 EXPECT_EQ(XcodeSDK("MacOSX10.15.Internal.sdk").GetType(), XcodeSDK::MacOSX); in TEST()
39 EXPECT_EQ(XcodeSDK().GetType(), XcodeSDK::unknown); in TEST()
58 XcodeSDK empty; in TEST()
[all …]
/llvm-project-15.0.7/lldb/source/Utility/
H A DXcodeSDK.cpp23 case XcodeSDK::MacOSX: in GetName()
47 XcodeSDK::XcodeSDK(XcodeSDK::Info info) : m_name(GetName(info.type).str()) { in XcodeSDK() function in XcodeSDK
57 XcodeSDK &XcodeSDK::operator=(const XcodeSDK &other) = default;
59 bool XcodeSDK::operator==(const XcodeSDK &other) { in operator ==()
82 static_assert(XcodeSDK::Linux == XcodeSDK::numSDKTypes - 1, in ParseSDKName()
108 XcodeSDK::Info XcodeSDK::Parse() const { in Parse()
130 XcodeSDK::Type XcodeSDK::GetType() const { in GetType()
147 void XcodeSDK::Merge(const XcodeSDK &other) { in Merge()
162 std::string XcodeSDK::GetCanonicalName(XcodeSDK::Info info) { in GetCanonicalName()
202 bool XcodeSDK::SDKSupportsModules(XcodeSDK::Type sdk_type, in SDKSupportsModules()
[all …]
H A DCMakeLists.txt76 XcodeSDK.cpp
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A 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);
/llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwin.cpp787 case XcodeSDK::Type::MacOSX: in GetSDKDirectoryForModules()
793 case XcodeSDK::Type::iPhoneOS: in GetSDKDirectoryForModules()
813 if (XcodeSDK::SDKSupportsModules(XcodeSDK::Type::MacOSX, version)) { in GetSDKDirectoryForModules()
995 case XcodeSDK::Type::MacOSX: in AddClangModuleCompilationOptionsForSDKType()
998 case XcodeSDK::Type::iPhoneOS: in AddClangModuleCompilationOptionsForSDKType()
1001 case XcodeSDK::Type::AppleTVOS: in AddClangModuleCompilationOptionsForSDKType()
1004 case XcodeSDK::Type::watchOS: in AddClangModuleCompilationOptionsForSDKType()
1033 case XcodeSDK::Type::MacOSX: in AddClangModuleCompilationOptionsForSDKType()
1051 case XcodeSDK::Type::watchOS: in AddClangModuleCompilationOptionsForSDKType()
1055 case XcodeSDK::Type::Linux: in AddClangModuleCompilationOptionsForSDKType()
[all …]
H A DPlatformDarwin.h165 XcodeSDK::Type sdk_type;
172 static FileSpec FindSDKInXcodeForModules(XcodeSDK::Type sdk_type,
175 static FileSpec GetSDKDirectoryForModules(XcodeSDK::Type sdk_type);
180 XcodeSDK::Type sdk_type);
H A DPlatformAppleSimulator.h52 llvm::StringRef sdk, XcodeSDK::Type sdk_type,
63 XcodeSDK::Type sdk_type,
123 XcodeSDK::Type m_sdk_type;
H A DPlatformAppleSimulator.cpp43 llvm::StringRef sdk, lldb_private::XcodeSDK::Type sdk_type, in PlatformAppleSimulator()
280 sdk = HostInfo::GetXcodeSDKPath(XcodeSDK(std::move(preferred))); in GetXcodeSDKDir()
282 sdk = HostInfo::GetXcodeSDKPath(XcodeSDK(std::move(secondary))); in GetXcodeSDKDir()
293 lldb_private::XcodeSDK::Type sdk_type, in CreateInstance()
569 XcodeSDK::Type::iPhoneSimulator, in CreateInstance()
607 XcodeSDK::Type::AppleTVSimulator, in CreateInstance()
649 XcodeSDK::Type::WatchSimulator, in CreateInstance()
H A DPlatformRemoteDarwinDevice.h62 target, options, XcodeSDK::Type::iPhoneOS); in AddClangModuleCompilationOptions()
H A DPlatformMacOSX.h70 target, options, XcodeSDK::Type::MacOSX); in AddClangModuleCompilationOptions()
H A DPlatformMacOSX.cpp127 HostInfo::GetXcodeSDKPath(lldb_private::XcodeSDK::GetAnyMacOS())); in GetSDKDirectory()
/llvm-project-15.0.7/lldb/unittests/Host/
H A DHostInfoTest.cpp59 EXPECT_FALSE(HostInfo::GetXcodeSDKPath(XcodeSDK("MacOSX.sdk")).empty()); in TEST_F()
61 EXPECT_FALSE(HostInfo::GetXcodeSDKPath(XcodeSDK("MacOSX9999.sdk")).empty()); in TEST_F()
63 EXPECT_TRUE(HostInfo::GetXcodeSDKPath(XcodeSDK("CeciNestPasUnOS.sdk")).empty()); in TEST_F()
/llvm-project-15.0.7/lldb/unittests/SymbolFile/DWARF/
H A DXcodeSDKModuleTests.cpp71 XcodeSDK sdk = sym_file.ParseXcodeSDK(*comp_unit); in TEST_F()
72 ASSERT_EQ(sdk.GetType(), XcodeSDK::Type::MacOSX); in TEST_F()
/llvm-project-15.0.7/lldb/source/Host/macosx/objcxx/
H A DHostInfoMacOSX.mm323 XcodeSDK::FindXcodeContentsDirectoryInPath(fspec.GetPath());
335 XcodeSDK::FindXcodeContentsDirectoryInPath(env_developer_dir);
342 FileSpec fspec(HostInfo::GetXcodeSDKPath(XcodeSDK::GetAnyMacOS()));
346 XcodeSDK::FindXcodeContentsDirectoryInPath(fspec.GetPath());
370 static std::string GetXcodeSDK(XcodeSDK sdk) {
371 XcodeSDK::Info info = sdk.Parse();
372 std::string sdk_name = XcodeSDK::GetCanonicalName(info);
431 XcodeSDK::FindXcodeContentsDirectoryInPath(fspec.GetPath());
449 if (info.type == XcodeSDK::Type::MacOSX && !info.version.empty() &&
464 sdk_name = XcodeSDK::GetCanonicalName(info);
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Host/macosx/
H A DHostInfoMacOSX.h33 static llvm::StringRef GetXcodeSDKPath(XcodeSDK sdk);
/llvm-project-15.0.7/lldb/include/lldb/Host/
H A DHostInfoBase.h111 static llvm::StringRef GetXcodeSDKPath(XcodeSDK sdk) { return {}; } in GetXcodeSDKPath()
/llvm-project-15.0.7/lldb/source/Symbol/
H A DSymbolFileOnDemand.cpp60 XcodeSDK SymbolFileOnDemand::ParseXcodeSDK(CompileUnit &comp_unit) { in ParseXcodeSDK()
64 XcodeSDK defaultValue{}; in ParseXcodeSDK()
66 XcodeSDK sdk = m_sym_file_impl->ParseXcodeSDK(comp_unit); in ParseXcodeSDK()
/llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Utility/
H A DBUILD.gn58 "XcodeSDK.cpp",
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DSymbolFileOnDemand.h67 lldb_private::XcodeSDK
H A DSymbolFile.h146 virtual XcodeSDK ParseXcodeSDK(CompileUnit &comp_unit) { return {}; } in ParseXcodeSDK()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARFDebugMap.h60 lldb_private::XcodeSDK
H A DSymbolFileDWARF.h111 lldb_private::XcodeSDK
H A DSymbolFileDWARFDebugMap.cpp626 XcodeSDK SymbolFileDWARFDebugMap::ParseXcodeSDK(CompileUnit &comp_unit) { in ParseXcodeSDK()
H A DSymbolFileDWARF.cpp889 XcodeSDK SymbolFileDWARF::ParseXcodeSDK(CompileUnit &comp_unit) { in ParseXcodeSDK()
/llvm-project-15.0.7/lldb/source/Core/
H A DModule.cpp1631 XcodeSDK sdk(sdk_name.str()); in RegisterXcodeSDK()

12