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.
		
	dmd.toobj
Convert an AST that went through all semantic phases into an object file.
Authors: 
License: 
Source toobj.d
Documentation https://dlang.org/phobos/dmd_toobj.html
- voidwrite_pointers(Typetype, Symbol*s, uintoffset);
- write pointer references for typed data to the object file a class type is considered to mean a reference to a class instanceParameters:Type typetype of the data to check for pointers Symbol* ssymbol that contains the data uint offsetoffset of the data inside the Symbol's memory 
- voidwrite_instance_pointers(Typetype, Symbol*s, uintoffset);
- write pointer references for typed data to the object file a class type is considered to mean the instance, not a referenceParameters:Type typetype of the data to check for pointers Symbol* ssymbol that contains the data uint offsetoffset of the data inside the Symbol's memory 
- voidTypeInfo_toObjFile(Expressione, Locloc, Typet);
- Put out instance of the TypeInfo object associated withtif it hasn't already been generatedParameters:Expression eif not null, then expression for pretty-printing errors Loc locthe location for reporting line numbers in errors Type tthe type to generate the TypeInfo object for 
- uintbaseVtblOffset(ClassDeclarationcd, BaseClass*bc);
- Get offset of base class's vtbl[] initializer from start of csym. Returns ~0 if not this csym.
Copyright © 1999-2025 by the D Language Foundation | Page generated by
Ddoc on Mon Mar 31 10:28:11 2025