dmd.backend.dt
Compiler implementation of the D programming language.
License
Documentation: https://dlang.org/phobos/dmd_backend_dt.html
-
Declaration
nothrow @nogc @trusted voiddt_free(dt_t*dt);Free a data definition struct.
-
Declaration
nothrow @nogc @safe voiddt_term();Free free list.
-
Declaration
nothrow @nogc @safe voiddtpatchoffset(dt_t*dt, uintoffset); -
Declaration
nothrow @nogc @trusted voidinit_common(Symbol*s);Make a common block for
s. -
Declaration
nothrow @nogc @trusted uintdt_size(const(dt_t)*dtstart);Compute size of a dt
-
Declaration
nothrow @nogc @safe booldtallzeros(const(dt_t)*dt);Return
trueifdtis all zeros. -
Declaration
nothrow @nogc @safe booldtpointers(const(dt_t)*dtstart);Return
trueif dt contains pointers (requires relocations). -
Declaration
nothrow @nogc @safe voiddt2common(dt_t**pdt);Turn DT_azeros into DTcommon
-
Declaration
structDtBuilder;-
Declaration
nothrow @nogc @safe dt_t*finish();Finish and return completed data structure.
-
Declaration
nothrow @nogc @trusted voidnbytes(uintsize, const(char)*ptr);Append data represented by
ptr[0..size] -
Declaration
nothrow @nogc @trusted voidabytes(tym_tty, uintoffset, uintsize, const(char)*ptr, uintnzeros, ubyte_align);Write a reference to the data
ptr[0..size+nzeros]Parameters
tym_ttypointer type
uintoffsetto be added to
offsetof data generateduintsizenumber of bytes pointed to by
ptrconst(char)*ptrpoints to data bytes
uintnzerosnumber of zero bytes to add to the end
ubyte_alignalignment of pointed-to data
-
Declaration
nothrow @nogc @trusted voiddword(intvalue);Write 4 bytes of
value. -
Declaration
nothrow @nogc @trusted voidsize(ulongvalue);Write a size_t
value. -
Declaration
nothrow @nogc @safe voidnzeros(uintsize);Write a bunch of zeros
-
Declaration
nothrow @nogc @trusted voidxoff(Symbol*s, uintoffset, tym_tty);Write a reference to
s+offset -
Declaration
nothrow @nogc @safe voidxoff(Symbol*s, uintoffset);Create reference to
s+offset -
Declaration
nothrow @nogc @trusted dt_t*xoffpatch(Symbol*s, uintoffset, tym_tty);Like xoff(), but returns handle with which to patch '
offset' value. -
Declaration
nothrow @nogc @trusted Symbol*dtoff(dt_t*dt, uintoffset);Create a reference to another
dt.Return Value
the internal symbol used for the other
dt -
Declaration
nothrow @nogc @trusted voidcoff(uintoffset);Write reference to
offsetin code segment. -
Declaration
nothrow @nogc @safe voidcat(dt_t*dt);Append
dtto data. -
Declaration
nothrow @nogc @safe voidcat(ref DtBuilderdtb);Append
dtbto data. -
Declaration
nothrow @nogc @trusted voidrepeat(dt_t*dt, size_tcount);Repeat a list of dt_t's
counttimes. -
Declaration
nothrow @nogc @safe uintlength();Return size of data.
-
Declaration
nothrow @nogc @safe boolisZeroLength();Return
trueif size of data is 0.
-
-
Declaration
nothrow @nogc @safe dt_t*dt_get_nzeros(uintn);Temporary hack to initialize a dt_t* for C.