ΒΆExpected<std::string> getBitcodeProducerString(
    llvm::MemoryBufferRef Buffer)

Description

Read the header of the specified bitcode buffer and extract just the producer string information. If successful, this returns a string. On error, this returns "".

Declared at: llvm/include/llvm/Bitcode/BitcodeReader.h:163

Parameters

llvm::MemoryBufferRef Buffer