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

Configuration enums/variables for different targets
Compiler implementation of the D programming language.
Authors:
enum int EXIT_BREAK;
Limits & machine dependent stuff.
alias targ_char = byte;
Target machine data types as they appear on the host.
enum linkage_t: int;
Configuration
enum EHmethod: int;
Exception handling method
enum REL: ubyte;
Because the relocations cannot be computed until after all the segments are written out, and we need more information than the relocations provide, make our own relocation type. Later, translate to Mach-O relocation structure.
union Vconst;
Union of all arithmetic data types. Storage allocated must be the right size of the data on the TARGET, not the host.
enum SC: ubyte;
Storage classes
unde
undefined
auto_
automatic (stack)
static_
statically allocated
extern_
external
register
registered variable
pseudo
pseudo register variable
global
top level global definition
comdat
initialized common block
parameter
function parameter
regpar
function register parameter
fastpar
function parameter passed in register
shadowreg
function parameter passed in register, shadowed on stack
typedef_
type definition
struct_
struct/class/union tag name
enum_
enum tag name
field
bit field of struct or union
const_
constant integer
member
member of struct or union
inline
for inline functions
sinline
for static inline functions
einline
for extern inline functions
locstat
static, but local to a function
comdef
uninitialized common block
bprel
variable at fixed offset from frame pointer
alias_
alias to another symbol
funcalias
alias to another function symbol
stack
offset from stack pointer (not frame pointer)