View source code
Display the source code in dmd/backend/dt.d from which thispage was generated on github.
Report a bug
If you spot a problem with this page, click here to create aGitHub 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 usinglocal clone.
Module dmd.backend.dt
Intermediate representation for static data
Compiler implementation of the D programming language.
Documentation
https://dlang.org/phobos/dmd_backend_dt.html
Coverage
https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/dt.d
Functions
| Name | Description |
|---|---|
dt2common(pdt)
|
Turn DT.azeros into DTcommon |
dt_free(dt)
|
Free a data definition struct. |
dt_get_nzeros(n)
|
Temporary hack to initialize a dt_t* for C. |
dt_term()
|
Free free list. |
dtallzeros(dt)
|
Return true if dt is all zeros. |
dtpatchoffset(dt, offset)
|
|
dtpointers(dtstart)
|
Return true if dt contains pointers (requires relocations). |
init_common(s)
|
Make a common block for Symbol s.
|
Structs
| Name | Description |
|---|---|
DtBuilder
|
Enums
| Name | Description |
|---|---|
DT
|
Data definitions DTibytes 1..7 bytes DTabytes offset of bytes of data a { a data bytes } DTnbytes bytes of data a { a data bytes } a = offset DTazeros # of 0 bytes a DTsymsize same as DTazeros, but the type of the symbol gives the size DTcommon # of 0 bytes (in a common block) a DTxoff offset from symbol w a w = symbol number (pointer for CPP) a = offset DTcoff offset into code segment |
Authors
License
Copyright © 1999-2026 by the D Language Foundation | Page generated by ddox.