Spicy
Public Member Functions | List of all members
hilti::detail::cxx::Linker Class Reference

#include <linker.h>

Public Member Functions

 Linker (CodeGen *cg)
 
void add (const linker::MetaData &md)
 
void finalize ()
 
Result< cxx::UnitlinkerUnit ()
 

Detailed Description

HILTI's linker.

It's not really a linker, it's a component that adds additional C++ code requires knowledge across all compilation units. That knowledge is included with each compiled C++ code unit as JSON data inside comments. The linker extracts all this information and then generates an additional C++ code unit with corresponding globa code.


The documentation for this class was generated from the following files: