dmd.glue

Generate the object file for function declarations and critical sections.

Members

Functions

genObjFile
void genObjFile(Module m, bool multiobj)

Generate .obj file for Module.

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.

toSymbol
Symbol* toSymbol(Type t)
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

obj_symbols_towrite
Dsymbols obj_symbols_towrite;

Append s to list of object files to generate later.

objbuf
Outbuffer objbuf;

Prepare for generating obj file.

Meta

Suggestion Box / Bug Report