Home
last modified time | relevance | path

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

/external/llvm-project/lld/COFF/
DDebugTypes.cpp282 static bool canUseDebugH(ArrayRef<uint8_t> debugH) { in canUseDebugH() argument
283 if (debugH.size() < sizeof(object::debug_h_header)) in canUseDebugH()
286 reinterpret_cast<const object::debug_h_header *>(debugH.data()); in canUseDebugH()
287 debugH = debugH.drop_front(sizeof(object::debug_h_header)); in canUseDebugH()
291 (debugH.size() % 8 == 0); in canUseDebugH()
306 getHashesFromDebugH(ArrayRef<uint8_t> debugH) { in getHashesFromDebugH() argument
307 assert(canUseDebugH(debugH)); in getHashesFromDebugH()
308 debugH = debugH.drop_front(sizeof(object::debug_h_header)); in getHashesFromDebugH()
309 uint32_t count = debugH.size() / sizeof(GloballyHashedType); in getHashesFromDebugH()
310 return {reinterpret_cast<const GloballyHashedType *>(debugH.data()), count}; in getHashesFromDebugH()
[all …]