View source code
Display the source code in dmd/backend/dwarfdbginf.d from which thispage was generated on github.
Report a bug
If you spot a problem with this page, click here to create aGitHub issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinglocal clone.

Module dmd.backend.dwarfdbginf

Emit Dwarf symbolic debug info

Compiler implementation of the D programming language.

Coverage

https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/dwarfdbginf.d

Functions

NameDescription
dwarf_CFA_offset(reg, offset) Set reg to be at offset from frame register.
dwarf_CFA_set_loc(location) Set the location, i.e. the offset from the start of the function. It must always be greater than the current location.
dwarf_CFA_set_reg_offset(reg, offset) Set the frame register, and its offset.
dwarf_emit_eh_frame(AArch64, xlocalsize, cfa_offset) Emit canonical eh_frame
dwarf_except_gentables(sfunc, startoffset, retoffset) Write Dwarf-style exception tables.
dwarf_func_start(sfunc) Start of code gen for function.
dwarf_func_term(sfunc) End of code gen for function.
dwarf_outsym(s) Write out symbol table for current function.
dwarf_regno(reg) Convert CPU register number to Dwarf register number.
dwarf_termfile() Finish writing Dwarf debug info to object file.

Authors

Walter Bright

License

Boost License 1.0