dmd.backend.cgcv

Interface for CodeView symbol debug info generation

Compiler implementation of the D programming language.

Public Imports

dmd.backend.cv8
public import dmd.backend.cv8;
Undocumented in source.

Members

Functions

cv4_arglist (from dmd.backend.dcgcv)
idx_t cv4_arglist(type* t, uint* pnparam) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Generate a type index for a parameter list.

cv4_callconv (from dmd.backend.dcgcv)
ubyte cv4_callconv(type* t) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Return 'calling convention' type of function.

cv4_numericbytes (from dmd.backend.dcgcv)
uint cv4_numericbytes(uint value) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Return number of bytes required to store a numeric leaf.

cv4_signednumericbytes (from dmd.backend.dcgcv)
uint cv4_signednumericbytes(int value) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Return number of bytes required to store a signed numeric leaf.

cv4_storenumeric (from dmd.backend.dcgcv)
void cv4_storenumeric(ubyte* p, uint value) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Store numeric leaf. Must use exact same number of bytes as cv4_numericbytes().

cv4_storesignednumeric (from dmd.backend.dcgcv)
void cv4_storesignednumeric(ubyte* p, int value) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Store signed numeric leaf. Must use exact same number of bytes as cv4_signednumericbytes().

cv4_struct (from dmd.backend.dcgcv)
idx_t cv4_struct(Classsym* s, int flags) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Return type index of struct. Input: s struct tag symbol flags 0 generate a reference to s 1 just saw the definition of s 2 saw key function for class s 3 no longer have a key function for class s

cv4_typidx (from dmd.backend.dcgcv)
uint cv4_typidx(type* t) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Return CV4 type index for a type.

cv_debtyp (from dmd.backend.dcgcv)
idx_t cv_debtyp(debtyp_t* d) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Search for debtyp_t in debtyp[]. If it is there, return the index of it, and free d. Otherwise, add it.

cv_func (from dmd.backend.dcgcv)
void cv_func(Funcsym* s) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Write out symbol table for current function.

cv_init (from dmd.backend.dcgcv)
void cv_init() via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Store a null record at DEB_NULL.

cv_namestring (from dmd.backend.dcgcv)
int cv_namestring(ubyte* p, const(char)* name, int length) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Stuff a namestring into p.

cv_numdebtypes (from dmd.backend.dcgcv)
idx_t cv_numdebtypes() via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;
Undocumented in source.
cv_outsym (from dmd.backend.dcgcv)
void cv_outsym(Symbol* s) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Write out symbol table for current function.

cv_stringbytes (from dmd.backend.dcgcv)
int cv_stringbytes(const(char)* name) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Return number of bytes consumed in OBJ file by a name.

cv_term (from dmd.backend.dcgcv)
void cv_term() via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Write out data to .OBJ file.

cv_typidx (from dmd.backend.dcgcv)
uint cv_typidx(type* t) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Return cv type index for a type.

debtyp_alloc (from dmd.backend.dcgcv)
debtyp_t* debtyp_alloc(uint length) via public import dmd.backend.dcgcv : cv_init, cv_typidx, cv_outsym, cv_func, cv_term, cv4_struct, cv_stringbytes, cv4_numericbytes, cv4_storenumeric, cv4_signednumericbytes, cv4_storesignednumeric, cv_debtyp, cv_namestring, cv4_typidx, cv4_arglist, cv4_callconv, cv_numdebtypes, debtyp_alloc;

Allocate a debtyp_t.

dwarf_outsym (from dmd.backend.dwarfdbginf)
void dwarf_outsym(Symbol* s) via public import dmd.backend.dwarfdbginf : dwarf_outsym;

Write out symbol table for current function.

Meta