MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / SkipBitcodeWrapperHeader

Function SkipBitcodeWrapperHeader

include/llvm/Bitcode/ReaderWriter.h:166–183  ·  view source on GitHub ↗

SkipBitcodeWrapperHeader - Some systems wrap bc files with a special header for padding or other reasons. The format of this header is: struct bc_header { uint32_t Magic; // 0x0B17C0DE uint32_t Version; // Version, currently always 0. uint32_t BitcodeOffset; // Offset to traditional bitcode file. uint32_t BitcodeSize; // Size of traditional bitcode file. ... potentially other gun

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

openBitcodeFileFunction · 0.85
initStreamFromBufferMethod · 0.85
initLazyStreamMethod · 0.85

Calls 1

read32leFunction · 0.85

Tested by

no test coverage detected