pub struct Positioned {
pub text: String,
pub instructions: Vec<Listed>,
pub part: [u8; 4],
pub bitcode: usize,
}Expand description
The listing of disassemble, with where each instruction of the listed module’s function bodies is listed and
stored.
Fields§
§text: StringThe listing, byte for byte the text disassemble gives.
instructions: Vec<Listed>Each instruction of a function body, in listing order: the bodies as the listing defines them, each body’s instructions block by block. Nothing else of the listing has an entry: not the header, globals, declarations or metadata.
part: [u8; 4]The part whose module is listed: ILDB, the debug module, where the container has one, else DXIL. The two
modules are stored apart, so an instruction’s bits in one are not its bits in the other.
bitcode: usizeThe byte of the container where that part’s bitcode starts (its BC magic): bit b of Listed::at and
Listed::end is bit b % 8 of container byte bitcode + b / 8, counting from the least significant bit, as
LLVM’s bitstream does.