dmd.backend.dwarfdbginf

Compiler implementation of the D programming language.

Members

Aliases

rewrite32
alias rewrite32 = rewrite!uint
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
rewrite64
alias rewrite64 = rewrite!ulong
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Functions

MAP_SEG2SYMIDX
SYMIDX MAP_SEG2SYMIDX(int seg)
Undocumented in source. Be warned that the author may not have intended to support it.
MAP_SEG2SYMIDX
SYMIDX MAP_SEG2SYMIDX(int seg)
Undocumented in source. Be warned that the author may not have intended to support it.
OFFSET_FAC
int OFFSET_FAC()
Undocumented in source. Be warned that the author may not have intended to support it.
REGSIZE
int REGSIZE()
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
_errno
int* _errno()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
append_addr
void append_addr(Outbuffer* buf, targ_size_t addr)
Undocumented in source. Be warned that the author may not have intended to support it.
cv_outlist
void cv_outlist()

Write out any deferred symbols.

doUnwindEhFrame
bool doUnwindEhFrame()

Determine if generating a eh_frame with full unwinding information. This decision is done on a per-function basis.

dwarf_CFA_args_size
void dwarf_CFA_args_size(size_t sz)

Set total size of arguments pushed on the stack.

dwarf_CFA_offset
void dwarf_CFA_offset(int reg, int offset)

Set reg to be at offset from frame register.

dwarf_CFA_offset
void dwarf_CFA_offset(int reg, int offset)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_CFA_set_loc
void dwarf_CFA_set_loc(uint 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_loc
void dwarf_CFA_set_loc(uint location)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_CFA_set_reg_offset
void dwarf_CFA_set_reg_offset(int reg, int offset)

Set the frame register, and its offset.

dwarf_CFA_set_reg_offset
void dwarf_CFA_set_reg_offset(int reg, int offset)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_abbrev_code
uint dwarf_abbrev_code(const(ubyte)[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_abbrev_code
uint dwarf_abbrev_code(const(ubyte)* data, size_t nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_addrel
void dwarf_addrel(int seg, targ_size_t offset, int targseg, targ_size_t val)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_addrel64
void dwarf_addrel64(int seg, targ_size_t offset, int targseg, targ_size_t val)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_apprel32
void dwarf_apprel32(int seg, Outbuffer* buf, int targseg, targ_size_t val)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_appreladdr
void dwarf_appreladdr(int seg, Outbuffer* buf, int targseg, targ_size_t val)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_classify_struct
ubyte dwarf_classify_struct(uint sflags)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_eh_frame_alloc
int dwarf_eh_frame_alloc()
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_except_gentables
void dwarf_except_gentables(Funcsym* sfunc, uint startoffset, uint retoffset)

Write Dwarf-style exception tables.

dwarf_except_gentables
void dwarf_except_gentables(Funcsym* sfunc, uint startoffset, uint retoffset)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_except_table_alloc
int dwarf_except_table_alloc(Symbol* s)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_func_start
void dwarf_func_start(Symbol* sfunc)

Start of code gen for function.

dwarf_func_term
void dwarf_func_term(Symbol* sfunc)

End of code gen for function.

dwarf_getsegment
int dwarf_getsegment(const(char)* name, int align_, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_getsegment_alloc
int dwarf_getsegment_alloc(const(char)* name, const(char)* suffix, int align_)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_initfile
void dwarf_initfile(const(char)* filename)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_initfile
void dwarf_initfile(const(char)[] filename)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_initmodule
void dwarf_initmodule(const(char)* filename, const(char)* modname)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_initmodule
void dwarf_initmodule(const(char)[] filename, const(char)[] modname)
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_line_addfile
int dwarf_line_addfile(const(char)* filename)
int dwarf_line_addfile(const(char)[] filename)

Add a file to the .debug_line header

dwarf_outsym
void dwarf_outsym(Symbol* s)

Write out symbol table for current function.

dwarf_regno
int dwarf_regno(int reg)

Convert CPU register number to Dwarf register number.

dwarf_termfile
void dwarf_termfile()

Finish writing Dwarf debug info to object file.

dwarf_termmodule
void dwarf_termmodule()
Undocumented in source. Be warned that the author may not have intended to support it.
dwarf_typidx
uint dwarf_typidx(type* t)
Undocumented in source. Be warned that the author may not have intended to support it.
getSymName
const(char)* getSymName(Symbol* sym)

Returns a pretty identifier name from sym.

getcwd
char* getcwd(char* buffer, size_t maxlen)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
rewrite
void rewrite(Outbuffer* buf, size_t offset, T data)

Replace the bytes in buf from the offset by data.

writeDebugFrameFDE
void writeDebugFrameFDE(IDXSEC dfseg, Symbol* sfunc)

Generate function's Frame Description Entry into .debug_frame

writeDebugFrameHeader
void writeDebugFrameHeader(Outbuffer* buf)

Append .debug_frame header to buf.

writeEhFrameFDE
void writeEhFrameFDE(IDXSEC dfseg, Symbol* sfunc, bool ehunwind, uint CIE_offset)

Append function's FDE (Frame Description Entry) to .eh_frame

Manifest constants

RELaddr
enum RELaddr;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
RELrel
enum RELrel;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Static functions

addSegmentToComdat
void addSegmentToComdat(segidx_t seg, segidx_t comdatseg)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
elf_addsym
IDXSYM elf_addsym(IDXSTR nam, targ_size_t val, uint sz, uint typ, uint bind, IDXSEC sec, ubyte visibility)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
getRtlsymPersonality
Symbol* getRtlsymPersonality()
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
getsegment2
int getsegment2(int seg, const(char)* sectname, const(char)* segname, int align_, int flags)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Static variables

CIE_offset_no_unwind
uint CIE_offset_no_unwind;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
CIE_offset_unwind
uint CIE_offset_unwind;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
eh_frame_seg
int eh_frame_seg;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
eh_frame_sym
Symbol* eh_frame_sym;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
except_table_num
int except_table_num;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
except_table_seg
int except_table_seg;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
typidx_tab
uint[TYMAX] typidx_tab;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Structs

CFA_reg
struct CFA_reg

DWARF DEBUG OUTPUT *******************************

CFA_state
struct CFA_state
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
Section
struct Section
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Meta