dmd.backend.dcgcv

CodeView 4 symbolic debug info generation

Compiler implementation of the D programming language.

Members

Functions

cv4_arglist
idx_t cv4_arglist(type* t, uint* pnparam)

Generate a type index for a parameter list.

cv4_callconv
ubyte cv4_callconv(type* t)

Return 'calling convention' type of function.

cv4_numericbytes
uint cv4_numericbytes(uint value)

Return number of bytes required to store a numeric leaf.

cv4_signednumericbytes
uint cv4_signednumericbytes(int value)

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

cv4_storenumeric
void cv4_storenumeric(ubyte* p, uint value)

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

cv4_storesignednumeric
void cv4_storesignednumeric(ubyte* p, int value)

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

cv4_struct
idx_t cv4_struct(Classsym* s, int flags)

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
uint cv4_typidx(type* t)

Return CV4 type index for a type.

cv_debtyp
idx_t cv_debtyp(debtyp_t* d)

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

cv_func
void cv_func(Funcsym* s)

Write out symbol table for current function.

cv_init
void cv_init()

Store a null record at DEB_NULL.

cv_namestring
int cv_namestring(ubyte* p, const(char)* name, int length)

Stuff a namestring into p.

cv_outsym
void cv_outsym(Symbol* s)

Write out symbol table for current function.

cv_stringbytes
int cv_stringbytes(const(char)* name)

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

cv_term
void cv_term()

Write out data to .OBJ file.

cv_typidx
uint cv_typidx(type* t)

Return cv type index for a type.

debtyp_alloc
debtyp_t* debtyp_alloc(uint length)

Allocate a debtyp_t.

Meta