[#llvm-getBitcodeProducerString] = xref:llvm.adoc[llvm]::getBitcodeProducerString :relfileprefix: ../ :mrdocs: Read the producer string from the header of a bitcode buffer. == Synopsis Declared in `<llvm/Bitcode/BitcodeReader.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/Expected.adoc[Expected<std::string>] getBitcodeProducerString(xref:llvm/MemoryBufferRef.adoc[MemoryBufferRef] Buffer); ---- == Description If successful, this returns a string. On error, this returns "". == Return Value The producer string from the identification block, or an empty string on error. == Parameters [cols="1,4"] |=== | Name| Description | *Buffer* | Memory buffer containing the bitcode. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#