Struct gimli::write::Unit [−][src]
pub struct Unit {
pub line_program: LineProgram,
pub ranges: RangeListTable,
pub locations: LocationListTable,
// some fields omitted
}
Expand description
A unit’s debugging information.
Fields
line_program: LineProgram
The line number program for this unit.
ranges: RangeListTable
A table of range lists used by this unit.
locations: LocationListTable
A table of location lists used by this unit.
Implementations
Create a new Unit
.
Return the address size in bytes for this unit.
Return the number of DebuggingInformationEntry
s created for this unit.
This includes entries that no longer have a parent.
Return the id of the root entry.
Add a new DebuggingInformationEntry
to this unit and return its id.
The parent
must be within the same unit.
Panics
Panics if parent
is invalid.