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

Method isBitcodeContainingObjCCategory

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

Source from the content-addressed store, hash-verified

6074}
6075
6076Expected<bool> llvm::isBitcodeContainingObjCCategory(MemoryBufferRef Buffer) {
6077 Expected<BitstreamCursor> StreamOrErr = initStream(Buffer);
6078 if (!StreamOrErr)
6079 return StreamOrErr.takeError();
6080
6081 return hasObjCCategory(*StreamOrErr);
6082}
6083
6084Expected<std::string> llvm::getBitcodeProducerString(MemoryBufferRef Buffer) {
6085 Expected<BitstreamCursor> StreamOrErr = initStream(Buffer);

Callers

nothing calls this directly

Calls 3

initStreamFunction · 0.85
hasObjCCategoryFunction · 0.70
takeErrorMethod · 0.45

Tested by

no test coverage detected