Writer that serializes LLVM IR modules and ThinLTO indexes to bitcode.
Declared in <llvm/Bitcode/BitcodeWriter.h>
class BitcodeWriter;
| Name | Description |
|---|---|
BitcodeWriter [constructor] | Constructors |
~BitcodeWriter [destructor] | Destroy this bitcode writer. |
copyStrtab | Copy the string table for another module into this bitcode file. This should be called after copying the module itself into the bitcode file. |
writeIndex | Write a module summary index into this bitcode file. |
writeModule | Write the specified module to the buffer specified at construction time. |
writeStrtab | Write the bitcode file's string table. This must be called exactly once after all modules and the optional symbol table have been written. |
writeSymtab | Attempt to write a symbol table to the bitcode file. This must be called at most once after all modules have been written. |
writeThinLinkBitcode | Write a minimized thin-link bitcode file to the construction-time buffer. |