Struct llvm_mapper::unroll::BitcodeModule [−][src]
pub struct BitcodeModule {
pub identification: Identification,
pub module: Module,
pub strtab: Strtab,
pub symtab: Option<Symtab>,
}Expand description
A BitcodeModule encapsulates the top-level pieces of bitstream state needed for
a single LLVM bitcode module: the IDENTIFICATION_BLOCK, the MODULE_BLOCK itself,
a STRTAB_BLOCK, and a SYMTAB_BLOCK (if the last is present). A bitstream can
contain multiple LLVM modules (e.g. if produced by llvm-cat -b), so parsing a bitstream
can result in multiple BitcodeModules.
Fields
identification: IdentificationThe identification block associated with this module.
module: ModuleThe module block associated with this module.
strtab: StrtabThe string table associated with this module.
symtab: Option<Symtab>The symbol table associated with this module, if it has one.