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: LineProgramThe line number program for this unit.
ranges: RangeListTableA table of range lists used by this unit.
locations: LocationListTableA 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 DebuggingInformationEntrys 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.