Type Alias gimli::read::LineNumberProgramHeader
source · pub type LineNumberProgramHeader<R, Offset> = LineProgramHeader<R, Offset>;
Expand description
Deprecated. LineNumberProgramHeader
has been renamed to LineProgramHeader
.
Aliased Type§
struct LineNumberProgramHeader<R, Offset> {Show 14 fields
encoding: Encoding,
offset: DebugLineOffset<Offset>,
unit_length: Offset,
header_length: Offset,
line_encoding: LineEncoding,
opcode_base: u8,
standard_opcode_lengths: R,
directory_entry_format: Vec<FileEntryFormat>,
include_directories: Vec<AttributeValue<R, Offset>>,
file_name_entry_format: Vec<FileEntryFormat>,
file_names: Vec<FileEntry<R, Offset>>,
program_buf: R,
comp_dir: Option<R>,
comp_file: Option<FileEntry<R, Offset>>,
}
Fields§
§encoding: Encoding
§offset: DebugLineOffset<Offset>
§unit_length: Offset
§header_length: Offset
§line_encoding: LineEncoding
§opcode_base: u8
“The number assigned to the first special opcode.”
standard_opcode_lengths: R
“This array specifies the number of LEB128 operands for each of the
standard opcodes. The first element of the array corresponds to the
opcode whose value is 1, and the last element corresponds to the opcode
whose value is opcode_base - 1
.”
directory_entry_format: Vec<FileEntryFormat>
“A sequence of directory entry format descriptions.”
include_directories: Vec<AttributeValue<R, Offset>>
Entries in this sequence describe each path that was searched for included source files in this compilation. (The paths include those directories specified explicitly by the user for the compiler to search and those the compiler searches without explicit direction.) Each path entry is either a full path name or is relative to the current directory of the compilation.
The last entry is followed by a single null byte.
file_name_entry_format: Vec<FileEntryFormat>
“A sequence of file entry format descriptions.”
file_names: Vec<FileEntry<R, Offset>>
“Entries in this sequence describe source files that contribute to the line number information for this compilation unit or is used in other contexts.”
program_buf: R
The encoded line program instructions.
comp_dir: Option<R>
The current directory of the compilation.
comp_file: Option<FileEntry<R, Offset>>
The primary source file.