View source code
Display the source code in dmd/backend/dout.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.dout

Transition from intermediate representation to code generator

Compiler implementation of the D programming language.

Documentation

https://dlang.org/phobos/dmd_backend_dout.html

Coverage

https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/dout.d

Functions

NameDescription
alignOffset(seg, datasize) Append bytes to segment until it is aligned to datasize
out_readonly(s) Mark Symbol s as going into a read-only segment.
out_readonly_comdat(s, data, nzeros) Output Symbol s as a readonly comdat.
out_regcand(psymtab) Go through symbol table and mark symbols that should not be register candidates.
out_string_literal(str, len, sz) Write out a readonly string literal to the object file in an implementation-defined manner. Create a Symbol to refer to it.
outdata(s) Write out statically allocated data.
outthunk(sthunk, sfunc, p, thisty, d, i, d2) Output function thunk.
writefunc(sfunc) Optimize function, generate code for it, and write it out.

Authors

Walter Bright

License

Boost License 1.0