dmd.glue

Generate the object file for function declarations and critical sections.

generateCodeAndWrite() is the only function seen by the front end.

Members

Functions

generateCodeAndWrite
void generateCodeAndWrite(Module[] modules, const(char)*[] libmodules, const(char)[] libname, const(char)[] objdir, bool writeLibrary, bool obj, bool oneobj, bool multiobj, bool verbose)

Generate code for modules and write objects/libraries

getBzeroSymbol
Symbol* getBzeroSymbol()

Generate readonly symbol that consists of a bunch of zeros. Immutable Symbol instances can be mapped over it. Only one is generated per object file.

obj_append
void obj_append(Dsymbol s)

Append s to list of object files to generate later. Only happens with multiobj.

totym
tym_t totym(Type tx)

Return back end type corresponding to D front end type.

Static variables

bzeroSymbol
Symbol* bzeroSymbol;

common location for immutable zeros

Meta