Home
last modified time | relevance | path

Searched refs:UUID (Results 1 – 25 of 156) sorted by relevance

1234567

/llvm-project-15.0.7/lldb/unittests/Utility/
H A DUUIDTest.cpp16 UUID empty; in TEST()
17 UUID a16 = UUID::fromData("1234567890123456", 16); in TEST()
18 UUID b16 = UUID::fromData("1234567890123457", 16); in TEST()
19 UUID a20 = UUID::fromData("12345678901234567890", 20); in TEST()
20 UUID b20 = UUID::fromData("12345678900987654321", 20); in TEST()
38 UUID empty; in TEST()
40 UUID a16 = UUID::fromData(zeroes.data(), 16); in TEST()
41 UUID a20 = UUID::fromData(zeroes.data(), 20); in TEST()
42 UUID a16_0 = UUID::fromOptionalData(zeroes.data(), 16); in TEST()
43 UUID a20_0 = UUID::fromOptionalData(zeroes.data(), 20); in TEST()
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DUUID.h23 class UUID {
25 UUID() = default;
48 return UUID(); in fromData()
53 static UUID fromData(llvm::ArrayRef<uint8_t> bytes) { return UUID(bytes); } in fromData()
61 return UUID(); in fromOptionalData()
68 return UUID(); in fromOptionalData()
112 friend bool operator==(const UUID &LHS, const UUID &RHS) {
115 friend bool operator!=(const UUID &LHS, const UUID &RHS) {
118 friend bool operator<(const UUID &LHS, const UUID &RHS) {
121 friend bool operator<=(const UUID &LHS, const UUID &RHS) {
[all …]
/llvm-project-15.0.7/llvm/unittests/IR/
H A DDebugTypeODRUniquingTest.cpp28 MDString &UUID = *MDString::get(Context, "string"); in TEST() local
38 EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
45 EXPECT_EQ(UUID.getString(), CT.getIdentifier()); in TEST()
48 EXPECT_EQ(&CT, DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
56 Context, UUID, dwarf::DW_TAG_class_type, in TEST()
64 EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
68 EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
76 MDString &UUID = *MDString::get(Context, "Type"); in TEST() local
81 EXPECT_EQ(&CT, DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
124 MDString &UUID = *MDString::get(Context, "UUID"); in TEST() local
[all …]
/llvm-project-15.0.7/lldb/source/Utility/
H A DUUID.cpp38 UUID UUID::fromCvRecord(UUID::CvRecordPdb70 debug_info) { in fromCvRecord()
44 return UUID::fromOptionalData(&debug_info, sizeof(debug_info)); in fromCvRecord()
45 return UUID::fromOptionalData(&debug_info.Uuid, sizeof(debug_info.Uuid)); in fromCvRecord()
48 std::string UUID::GetAsString(llvm::StringRef separator) const { in GetAsString()
63 void UUID::Dump(Stream *s) const { s->PutCString(GetAsString()); } in Dump()
73 UUID::DecodeUUIDBytesFromString(llvm::StringRef p, in DecodeUUIDBytesFromString()
96 bool UUID::SetFromStringRef(llvm::StringRef str) { in SetFromStringRef()
103 llvm::StringRef rest = UUID::DecodeUUIDBytesFromString(p, bytes); in SetFromStringRef()
114 bool UUID::SetFromOptionalStringRef(llvm::StringRef str) { in SetFromOptionalStringRef()
/llvm-project-15.0.7/lldb/include/lldb/Interpreter/
H A DOptionValueUUID.h21 OptionValueUUID(const UUID &uuid) : m_uuid(uuid) {} in OptionValueUUID()
43 UUID &GetCurrentValue() { return m_uuid; } in GetCurrentValue()
45 const UUID &GetCurrentValue() const { return m_uuid; } in GetCurrentValue()
47 void SetCurrentValue(const UUID &value) { m_uuid = value; } in SetCurrentValue()
53 UUID m_uuid;
/llvm-project-15.0.7/llvm/lib/TextAPI/
H A DTextStubCommon.h23 using UUID = std::pair<llvm::MachO::Target, std::string>; variable
27 LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(UUID) in LLVM_YAML_STRONG_TYPEDEF()
76 template <> struct ScalarTraits<UUID> { in LLVM_YAML_STRONG_TYPEDEF()
77 static void output(const UUID &, void *, raw_ostream &); in LLVM_YAML_STRONG_TYPEDEF()
78 static StringRef input(StringRef, void *, UUID &); in LLVM_YAML_STRONG_TYPEDEF()
H A DTextStubCommon.cpp218 void ScalarTraits<UUID>::output(const UUID &Value, void *, raw_ostream &OS) { in output()
221 StringRef ScalarTraits<UUID>::input(StringRef Scalar, void *, UUID &Value) { in input()
224 auto UUID = Split.second.trim(); in input() local
225 if (UUID.empty()) in input()
227 Value.second = std::string(UUID); in input()
232 QuotingType ScalarTraits<UUID>::mustQuote(StringRef) { in mustQuote()
H A DInterfaceFile.cpp74 void InterfaceFile::addUUID(const Target &Target_, StringRef UUID) { in addUUID() argument
80 Iter->second = std::string(UUID); in addUUID()
84 UUIDs.emplace(Iter, Target_, std::string(UUID)); in addUUID()
87 void InterfaceFile::addUUID(const Target &Target, uint8_t UUID[16]) { in addUUID()
93 << static_cast<int>(UUID[i]); in addUUID()
/llvm-project-15.0.7/lldb/docs/use/
H A Dsymbols.rst17 - File mapped UUID paths
39 UUID values that point to dSYM files. See the "File Mapped UUID
42 look in any file mapped UUID directories for a quick match.
54 dSYM. The shell script will be run given a single UUID value as the
84 The shell script will be invoked with a single UUID string value like
87 UUID string values as the root key values, with a dictionary for each UUID. The
183 you get multiple requests for the same UUID so that you don't end up
188 Embedding UUID property lists inside the dSYM bundles
257 File Mapped UUID Directories
271 create a File Mapped UUID directory cache in
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DGsymCreator.cpp79 Hdr.UUIDSize = static_cast<uint8_t>(UUID.size()); in encode()
84 memset(Hdr.UUID, 0, sizeof(Hdr.UUID)); in encode()
85 if (UUID.size() > sizeof(Hdr.UUID)) in encode()
87 "invalid UUID size %u", (uint32_t)UUID.size()); in encode()
98 if (UUID.size() > 0) in encode()
99 memcpy(Hdr.UUID, UUID.data(), UUID.size()); in encode()
H A DHeader.cpp35 OS << format_hex_no_prefix(H.UUID[I], 2); in operator <<()
79 Data.getU8(&Offset, H.UUID, GSYM_MAX_UUID_SIZE); in decode()
97 O.writeData(llvm::ArrayRef<uint8_t>(UUID)); in encode()
108 memcmp(LHS.UUID, RHS.UUID, LHS.UUIDSize) == 0; in operator ==()
H A DObjectFileTransformer.cpp27 std::vector<uint8_t> UUID; in getUUID() local
31 UUID.assign(MachUUID.data(), MachUUID.data() + MachUUID.size()); in getUUID()
62 UUID.assign(Ptr, Ptr + UUIDBytes.size()); in getUUID()
67 return UUID; in getUUID()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.h106 lldb_private::UUID GetUUID() override;
125 lldb_private::UUID &uuid,
155 static lldb_private::UUID
184 lldb_private::UUID &uuid);
191 void GetLLDBSharedCacheUUID(lldb::addr_t &base_addir, lldb_private::UUID &uuid);
200 lldb_private::UUID
227 lldb_private::UUID uuid;
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DModuleSpec.h34 ModuleSpec(const FileSpec &file_spec, const UUID &uuid = UUID(),
93 UUID *GetUUIDPtr() { return (m_uuid.IsValid() ? &m_uuid : nullptr); } in GetUUIDPtr()
95 const UUID *GetUUIDPtr() const { in GetUUIDPtr()
99 UUID &GetUUID() { return m_uuid; } in GetUUID()
101 const UUID &GetUUID() const { return m_uuid; } in GetUUID()
266 UUID m_uuid;
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Breakpad/
H A DObjectFileBreakpad.h84 UUID GetUUID() override { return m_uuid; } in GetUUID()
94 UUID m_uuid;
99 lldb::offset_t length, ArchSpec arch, UUID uuid);
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DLocateSymbolFile.h22 class UUID; variable
41 const lldb_private::UUID *uuid,
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/
H A DDynamicLoaderDarwinKernel.h150 lldb_private::UUID GetUUID() const;
152 void SetUUID(const lldb_private::UUID &uuid);
201 lldb_private::UUID
277 static lldb_private::UUID
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/PDB/
H A DObjectFilePDB.cpp30 static UUID GetPDBUUID(InfoStream &IS) { in LLDB_PLUGIN_DEFINE()
31 UUID::CvRecordPdb70 debug_info; in LLDB_PLUGIN_DEFINE()
34 return UUID::fromCvRecord(debug_info); in LLDB_PLUGIN_DEFINE()
128 lldb_private::UUID &uuid = module_spec.GetUUID(); in GetModuleSpecifications()
/llvm-project-15.0.7/lldb/test/Shell/ObjectFile/Breakpad/
H A Dbreakpad-identification.test11 LINUX: UUID: 554889E5-5DC3-CCCC-CCCC-CCCCCCCCCCCC
19 MAC: UUID: D98C0E68-2089-AA1B-EACD-6A8C1F16707B
29 WINDOWS: UUID: A0C91657-80B5-4909-81A1-925EA62165C0-00000001
/llvm-project-15.0.7/lldb/source/Symbol/
H A DLocateSymbolFile.cpp53 const lldb_private::UUID *uuid) { in FileAtPathContainsArchAndUUID()
213 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateExecutableSymbolFileDsym()
238 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateExecutableObjectFile()
315 const UUID &module_uuid = module_spec.GetUUID(); in LocateExecutableSymbolFile()
403 const lldb_private::UUID *uuid, in FindSymbolFileInBundle()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/GSYM/
H A DGSYMTest.cpp862 H.UUID[i] = i; in InitHeader()
864 H.UUID[i] = 0; in InitHeader()
1016 EXPECT_EQ(Hdr.UUIDSize, UUID.size()); in TestEncodeDecode()
1019 EXPECT_EQ(ArrayRef<uint8_t>(Hdr.UUID, Hdr.UUIDSize), UUID); in TestEncodeDecode()
1026 GC.setUUID(UUID); in TEST()
1040 ArrayRef<uint8_t>(UUID)); in TEST()
1052 GC.setUUID(UUID); in TEST()
1078 GC.setUUID(UUID); in TEST()
1104 GC.setUUID(UUID); in TEST()
1144 GC.setUUID(UUID); in TEST()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Process/minidump/
H A DMinidumpParser.cpp51 UUID MinidumpParser::GetModuleUUID(const minidump::Module *module) { in GetModuleUUID()
59 return UUID(); in GetModuleUUID()
65 const UUID::CvRecordPdb70 *pdb70_uuid = nullptr; in GetModuleUUID()
68 return UUID(); in GetModuleUUID()
71 return UUID::fromOptionalData(pdb70_uuid, sizeof(*pdb70_uuid)); in GetModuleUUID()
72 return UUID::fromOptionalData(&pdb70_uuid->Uuid, in GetModuleUUID()
75 return UUID::fromCvRecord(*pdb70_uuid); in GetModuleUUID()
77 return UUID::fromOptionalData(cv_record); in GetModuleUUID()
79 return UUID(); in GetModuleUUID()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformRemoteDarwinDevice.h34 class UUID; variable
50 const UUID *uuid_ptr, FileSpec &local_file);
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DOptionValueUUID.cpp69 if (!UUID::DecodeUUIDBytesFromString(prefix, uuid_bytes).empty()) in AutoComplete()
76 const UUID &module_uuid = module_sp->GetUUID(); in AutoComplete()
/llvm-project-15.0.7/lldb/unittests/Core/
H A DModuleSpecTest.cpp37 ModuleSpec Spec(FileSpec(), UUID(), InvalidBufferSP); in TEST()
47 ModuleSpec Spec(FileSpec(TestMainArgv0), UUID(), InvalidBufferSP); in TEST()

1234567