MCPcopy Create free account
hub / github.com/GANGE666/xVMP / getBitcodeProducerString

Method getBitcodeProducerString

src/lib/Bitcode/Reader/BitcodeReader.cpp:6084–6090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6082}
6083
6084Expected<std::string> llvm::getBitcodeProducerString(MemoryBufferRef Buffer) {
6085 Expected<BitstreamCursor> StreamOrErr = initStream(Buffer);
6086 if (!StreamOrErr)
6087 return StreamOrErr.takeError();
6088
6089 return readIdentificationCode(*StreamOrErr);
6090}
6091
6092Error llvm::readModuleSummaryIndex(MemoryBufferRef Buffer,
6093 ModuleSummaryIndex &CombinedIndex,

Callers

nothing calls this directly

Calls 3

initStreamFunction · 0.85
readIdentificationCodeFunction · 0.85
takeErrorMethod · 0.45

Tested by

no test coverage detected