Home
last modified time | relevance | path

Searched refs:GetOrCreate (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/lldb/unittests/Platform/
H A DPlatformAppleSimulatorTest.cpp66 auto platform_sp = list.GetOrCreate(arch, {}, nullptr); in TEST_F()
82 list.GetOrCreate("remote-ios"); in TEST_F()
83 list.GetOrCreate("remote-tvos"); in TEST_F()
84 list.GetOrCreate("remote-watchos"); in TEST_F()
92 auto platform_sp = list.GetOrCreate(arch, {}, nullptr, error); in TEST_F()
H A DPlatformTest.cpp96 PlatformSP platform_sp = list.GetOrCreate(archs, {}, candidates); in TEST_F()
109 PlatformSP platform_sp = list.GetOrCreate(archs, {}, candidates); in TEST_F()
115 platform_sp = list.GetOrCreate(archs, {}, candidates); in TEST_F()
128 PlatformSP platform_sp = list.GetOrCreate(archs, {}, candidates); in TEST_F()
136 platform_sp = list.GetOrCreate(archs, {}, candidates); in TEST_F()
154 PlatformSP platform_sp = list.GetOrCreate(archs, {}, candidates); in TEST_F()
/llvm-project-15.0.7/lldb/source/Initialization/
H A DSystemInitializerCommon.cpp48 repro::VersionProvider &vp = g->GetOrCreate<repro::VersionProvider>(); in InitializeFileSystem()
51 repro::FileProvider &fp = g->GetOrCreate<repro::FileProvider>(); in InitializeFileSystem()
57 g->GetOrCreate<repro::WorkingDirectoryProvider>().GetDirectory()); in InitializeFileSystem()
59 g->GetOrCreate<repro::HomeDirectoryProvider>().GetDirectory()); in InitializeFileSystem()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flat_map.h110 T *map2 = GetOrCreate(idx / kSize2);
116 T *map2 = GetOrCreate(idx / kSize2);
131 T *GetOrCreate(uptr idx) const { in GetOrCreate() function
H A Dsanitizer_stack_store.h106 uptr *GetOrCreate(StackStore *store);
H A Dsanitizer_stack_store.cpp82 return blocks_[block_idx].GetOrCreate(this) + GetInBlockIdx(start); in Alloc()
141 uptr *StackStore::BlockInfo::GetOrCreate(StackStore *store) { in GetOrCreate() function in __sanitizer::StackStore::BlockInfo
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DReproducerTest.cpp137 TEST(GeneratorTest, GetOrCreate) { in TEST() argument
145 auto &provider = generator.GetOrCreate<DummyProvider>(); in TEST()
149 auto &provider_alt = generator.GetOrCreate<DummyProvider>(); in TEST()
/llvm-project-15.0.7/lldb/source/API/
H A DSBReproducer.cpp148 auto &wp = g->GetOrCreate<repro::WorkingDirectoryProvider>(); in SetWorkingDirectory()
150 auto &fp = g->GetOrCreate<repro::FileProvider>(); in SetWorkingDirectory()
H A DSBDebugger.cpp1465 if (PlatformSP platform_sp = platforms.GetOrCreate(platform_name_cstr)) in SetCurrentPlatform()
/llvm-project-15.0.7/lldb/source/Target/
H A DTargetList.cpp188 platform_list.GetOrCreate(archs, {}, candidates)) { in CreateTargetInternal()
220 platform_sp = platform_list.GetOrCreate(arch, {}, &platform_arch); in CreateTargetInternal()
230 platform_list.GetOrCreate(platform_arch, {}, &fixed_platform_arch); in CreateTargetInternal()
262 debugger.GetPlatformList().GetOrCreate(specified_arch, {}, &arch); in CreateTargetInternal()
H A DPlatform.cpp1952 PlatformSP PlatformList::GetOrCreate(llvm::StringRef name) { in GetOrCreate() function in PlatformList
1961 PlatformSP PlatformList::GetOrCreate(const ArchSpec &arch, in GetOrCreate() function in PlatformList
2009 PlatformSP PlatformList::GetOrCreate(const ArchSpec &arch, in GetOrCreate() function in PlatformList
2014 return GetOrCreate(arch, process_host_arch, platform_arch_ptr, error); in GetOrCreate()
2018 PlatformSP PlatformList::GetOrCreate(llvm::ArrayRef<ArchSpec> archs, in GetOrCreate() function in PlatformList
2049 if (PlatformSP platform = GetOrCreate(arch, process_host_arch, nullptr)) in GetOrCreate()
H A DTarget.cpp1494 GetDebugger().GetPlatformList().GetOrCreate(other, {}, in SetArchitecture()
H A DProcess.cpp2912 platform_sp = GetTarget().GetDebugger().GetPlatformList().GetOrCreate( in CompleteAttach()
/llvm-project-15.0.7/lldb/source/Utility/
H A DReproducer.cpp131 GetOrCreate<repro::WorkingDirectoryProvider>(); in Generator()
132 GetOrCreate<repro::HomeDirectoryProvider>(); in Generator()
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DPlatform.h1003 lldb::PlatformSP GetOrCreate(llvm::StringRef name);
1004 lldb::PlatformSP GetOrCreate(const ArchSpec &arch,
1007 lldb::PlatformSP GetOrCreate(const ArchSpec &arch,
1023 lldb::PlatformSP GetOrCreate(llvm::ArrayRef<ArchSpec> archs,
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DOptionGroupPlatform.cpp43 platform_sp = platforms.GetOrCreate(arch, {}, &platform_arch, error); in CreatePlatformWithOptions()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DReproducer.h125 template <typename T> T &GetOrCreate() { in GetOrCreate() function
/llvm-project-15.0.7/lldb/source/Plugins/SymbolVendor/MacOSX/
H A DSymbolVendorMacOSX.cpp285 repro::FileProvider &fp = g->GetOrCreate<repro::FileProvider>(); in CreateInstance()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DHost.cpp627 g->GetOrCreate<repro::ProcessInfoProvider>() in FindProcesses()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp243 g->GetOrCreate<repro::GDBRemoteProvider>(); in ConnectRemote()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp689 repro::FileProvider &fp = g->GetOrCreate<repro::FileProvider>(); in Create()
H A DClangExpressionParser.cpp397 repro::FileProvider &fp = g->GetOrCreate<repro::FileProvider>(); in ClangExpressionParser()
/llvm-project-15.0.7/lldb/source/Core/
H A DDebugger.cpp927 recorder = g->GetOrCreate<repro::CommandProvider>().GetNewRecorder(); in SetInputFile()
/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp272 g->GetOrCreate<repro::GDBRemoteProvider>(); in ProcessGDBRemote()