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:
License:
Source backend/global.d
- 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...)(SrcpossrcPos
, const(char)*format
, Targs
); - Backend error report functionParameters:
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_tsize
, targ_size_toffset
); - Returns:aligned
offset
if it is of sizesize
. - nothrow @nogc @safe targ_size_t
size
(tym_tty
); - Get size of ty
- nothrow @nogc @safe Symbol*
symboldata
(targ_size_toffset
, tym_tty
); - Generate symbol of type ty at DATA:offset
- nothrow @nogc @trusted int
REGSIZE
(); - Size of a register in bytes
Copyright © 1999-2025 by the D Language Foundation | Page generated by
Ddoc on Sun Apr 13 05:29:29 2025