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

Declarations for back end
Compiler implementation of the D programming language.
Authors:
alias ErrorCallbackBackend = extern (C++) void function(const(char)* filename, uint linnum, uint charnum, const(char)* format, ...) nothrow @nogc;
Callback for errors raised by the backend
void error(T...)(Srcpos srcPos, const(char)* format, T args);
Backend error report function
Parameters:
Srcpos srcPos source location
const(char)* format printf format string with error message
T args printf format string arguments
nothrow @nogc @trusted targ_size_t _align(targ_size_t size, targ_size_t offset);
Returns:
aligned offset if it is of size size.
nothrow @nogc @safe targ_size_t size(tym_t ty);
Get size of ty
nothrow @nogc @safe Symbol* symboldata(targ_size_t offset, tym_t ty);
Generate symbol of type ty at DATA:offset
nothrow @nogc @trusted int REGSIZE();
Size of a register in bytes