Skip to main content

Module module

Module module 

Source

Structs§

ObjectMetadataBuilder
ObjectMetadataBuilder builds serialized module metadata include in an object. In addition, it also relies on information from ModuleInfo to build a table of function pointers, trmampolines and dynamic function trampoline pointers. ObjectMetadataBuilder takes care of setting up relocations, so a linker can automatically fill in actual addresses of all relevant functions. There is no need to piece the information together in the glue C file.

Constants§

DWARF_SECTION_NAME 🔒

Functions§

emit_compilation
Emit the compilation result into an existing object.
emit_data
Write data into an existing object.
emit_serialized
Emit the compilation result into an existing object.
get_object_for_target
Create an object for a given target Triple.