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

Method getBitcodeLTOInfo

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

Source from the content-addressed store, hash-verified

6109}
6110
6111Expected<BitcodeLTOInfo> llvm::getBitcodeLTOInfo(MemoryBufferRef Buffer) {
6112 Expected<BitcodeModule> BM = getSingleModule(Buffer);
6113 if (!BM)
6114 return BM.takeError();
6115
6116 return BM->getLTOInfo();
6117}
6118
6119Expected<std::unique_ptr<ModuleSummaryIndex>>
6120llvm::getModuleSummaryIndexForFile(StringRef Path,

Callers

nothing calls this directly

Calls 3

getSingleModuleFunction · 0.85
getLTOInfoMethod · 0.80
takeErrorMethod · 0.45

Tested by

no test coverage detected