Expand description
DWARF / .eh_frame emission helpers shared by the object-based compiler
backends (Cranelift and Singlepass).
Each compiled function is emitted into its own relocatable object file. This
module provides the writers used to serialize the per-function .eh_frame
unwind tables and the DWARF line program into those objects. The recorded
relocations are resolved against the function’s own text symbol.
Structs§
- Debug
Relocation 🔒 - Debug
Writer 🔒 - Dwarf
State - DWARF debug info state built incrementally during codegen.
- EhRelocation
- A relocation recorded while serializing the
.eh_framesection. - Writer
Relocate - A gimli [
Writer] for the.eh_framesection that records the relocations required against the function symbol, the personality routine and the LSDA.
Enums§
- Debug
Relocation 🔒Target - EhTarget
- The symbolic target of an
.eh_framerelocation. The gimliAddresssymbolfield is used as a discriminant value (seeWriterRelocate).
Functions§
- init_
dwarf_ unit - Initialize DWARF debug info for a function. Begins the line program sequence and sets up CU attributes.