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: 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.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.