dmd.toobj

Convert an AST that went through all semantic phases into an object file.

Members

Functions

TypeInfo_toObjFile
void TypeInfo_toObjFile(Expression e, Loc loc, Type t)

Put out instance of the TypeInfo object associated with t if it hasn't already been generated

baseVtblOffset
uint baseVtblOffset(ClassDeclaration cd, BaseClass* bc)

Get offset of base class's vtbl[] initializer from start of csym. Returns ~0 if not this csym.

write_instance_pointers
void write_instance_pointers(Type type, Symbol* s, uint offset)

write pointer references for typed data to the object file a class type is considered to mean the instance, not a reference

write_pointers
void write_pointers(Type type, Symbol* s, uint offset)

write pointer references for typed data to the object file a class type is considered to mean a reference to a class instance

Meta