Home
last modified time | relevance | path

Searched refs:DebugH (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypeHashing.cpp31 io.mapRequired("Version", DebugH.Version); in mapping()
32 io.mapRequired("HashAlgorithm", DebugH.HashAlgorithm); in mapping()
33 io.mapOptional("HashValues", DebugH.Hashes); in mapping()
50 assert(DebugH.size() >= 8); in fromDebugH()
51 assert((DebugH.size() - 8) % 8 == 0); in fromDebugH()
53 BinaryStreamReader Reader(DebugH, llvm::support::little); in fromDebugH()
70 uint32_t Size = 8 + 8 * DebugH.Hashes.size(); in toDebugH()
75 cantFail(Writer.writeInteger(DebugH.Magic)); in toDebugH()
76 cantFail(Writer.writeInteger(DebugH.Version)); in toDebugH()
77 cantFail(Writer.writeInteger(DebugH.HashAlgorithm)); in toDebugH()
[all …]
H A DCOFFYAML.cpp577 IO.mapOptional("GlobalHashes", Sec.DebugH); in mapping()
/freebsd-12.1/contrib/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLTypeHashing.h50 DebugHSection fromDebugH(ArrayRef<uint8_t> DebugH);
51 ArrayRef<uint8_t> toDebugH(const DebugHSection &DebugH,
H A DCOFFYAML.h77 Optional<CodeViewYAML::DebugHSection> DebugH; member
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DPDB.cpp340 static bool canUseDebugH(ArrayRef<uint8_t> DebugH) { in canUseDebugH() argument
341 if (DebugH.size() < sizeof(object::debug_h_header)) in canUseDebugH()
344 reinterpret_cast<const object::debug_h_header *>(DebugH.data()); in canUseDebugH()
345 DebugH = DebugH.drop_front(sizeof(object::debug_h_header)); in canUseDebugH()
349 (DebugH.size() % 8 == 0); in canUseDebugH()
363 getHashesFromDebugH(ArrayRef<uint8_t> DebugH) { in getHashesFromDebugH() argument
364 assert(canUseDebugH(DebugH)); in getHashesFromDebugH()
366 DebugH = DebugH.drop_front(sizeof(object::debug_h_header)); in getHashesFromDebugH()
367 uint32_t Count = DebugH.size() / sizeof(GloballyHashedType); in getHashesFromDebugH()
494 if (Optional<ArrayRef<uint8_t>> DebugH = getDebugH(File)) in mergeDebugT() local
[all …]