Report a bug
If you spot a problem with this page, click here to create a Bugzilla 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.
ddmd.toobj
Compiler implementation of the
D programming language.
Authors:
License:
Source: toobj.d
- void
write_pointers(Typetype, Symbol*s, uintoffset); - write pointer references for typed data to the object file a class
typeis considered to mean a reference to a class instanceParameters:Type typetypeof the data to check for pointersSymbol* ssymbol that contains the data uint offsetoffsetof the data inside the Symbol'smemory - void
write_instance_pointers(Typetype, Symbol*s, uintoffset); - write pointer references for typed data to the object file a class
typeis considered to mean the instance, not a referenceParameters:Type typetypeof the data to check for pointersSymbol* ssymbol that contains the data uint offsetoffsetof the data inside the Symbol'smemory - uint
baseVtblOffset(ClassDeclarationcd, BaseClass*bc); - Get offset of base class's vtbl[] initializer from start of csym. Returns ~0 if not this csym.
Copyright © 1999-2017 by the D Language Foundation | Page generated by
Ddoc on Wed Jul 19 22:16:53 2017