W3cubDocs

/D

ddmd.toobj

Compiler implementation of the D programming language.

Authors:
Walter Bright
License:
Boost License 1.0
Source:
toobj.d
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

Parameters:
Type type type of the data to check for pointers
Symbol* s symbol that contains the data
uint offset offset of the data inside the Symbol's memory
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

Parameters:
Type type type of the data to check for pointers
Symbol* s symbol that contains the data
uint offset offset of the data inside the Symbol's memory
uint baseVtblOffset(ClassDeclaration cd, BaseClass* bc)

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

© 1999–2017 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/ddmd_toobj.html