Report a bug
If you spot a problem with this page, click here to create a GitHub 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 using a local clone.

dmd.backend.cgcv

Interface for CodeView symbol debug info generation
Compiler implementation of the D programming language.
Authors:
nothrow @trusted int cv_stringbytes(const(char)* name);
Return number of bytes consumed in OBJ file by a name.
nothrow @trusted int cv_namestring(ubyte* p, const(char)* name, int length = -1);
Stuff a namestring into p.
Returns:
number of bytes consumed
nothrow @trusted debtyp_t* debtyp_alloc(uint length);
Allocate a debtyp_t.
nothrow @trusted 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.
Returns:
index in debtyp[]
nothrow @trusted void cv_init();
Store a null record at DEB_NULL.
nothrow @safe uint cv4_numericbytes(uint value);
CodeView 4 ///////////////////////////////
Return number of bytes required to store a numeric leaf.
nothrow @trusted void cv4_storenumeric(ubyte* p, uint value);
Store numeric leaf. Must use exact same number of bytes as cv4_numericbytes().
nothrow @safe uint cv4_signednumericbytes(int value);
Return number of bytes required to store a signed numeric leaf.
Parameters:
int value value to store
Returns:
number of bytes required for storing value
nothrow @trusted void cv4_storesignednumeric(ubyte* p, int value);
Store signed numeric leaf. Must use exact same number of bytes as cv4_signednumericbytes().
Parameters:
ubyte* p address where to store value
int value value to store
nothrow @trusted idx_t cv4_arglist(type* t, uint* pnparam);
Generate a type index for a parameter list.
nothrow @safe ubyte cv4_callconv(type* t);
Return 'calling convention' type of function.
nothrow @trusted uint cv4_typidx(type* t);
Return CV4 type index for a type.
nothrow @trusted void cv_term();
Write out data to .OBJ file.
nothrow @trusted void cv_outsym(Symbol* s);
Write out symbol table for current function.
nothrow @trusted uint cv_typidx(type* t);
Return cv type index for a type.
ushort[TYMAX] dttab4;
Map to Codeview 4 type in debugger record