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

Method getBitcodeTargetTriple

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

Source from the content-addressed store, hash-verified

6066}
6067
6068Expected<std::string> llvm::getBitcodeTargetTriple(MemoryBufferRef Buffer) {
6069 Expected<BitstreamCursor> StreamOrErr = initStream(Buffer);
6070 if (!StreamOrErr)
6071 return StreamOrErr.takeError();
6072
6073 return readTriple(*StreamOrErr);
6074}
6075
6076Expected<bool> llvm::isBitcodeContainingObjCCategory(MemoryBufferRef Buffer) {
6077 Expected<BitstreamCursor> StreamOrErr = initStream(Buffer);

Callers

nothing calls this directly

Calls 3

initStreamFunction · 0.85
readTripleFunction · 0.85
takeErrorMethod · 0.45

Tested by

no test coverage detected