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 BitcodeModule
s.
Fields
identification: Identification
The identification block associated with this module.
module: Module
The module block associated with this module.
strtab: Strtab
The string table associated with this module.
symtab: Option<Symtab>
The symbol table associated with this module, if it has one.