|
LLVM 22.0.0git
|
#include "llvm/ExecutionEngine/Orc/MachOPlatform.h"
Public Member Functions | |
| SimpleMachOHeaderMU (MachOPlatform &MOP, SymbolStringPtr HeaderStartSymbol, MachOPlatform::HeaderOptions Opts) | |
| StringRef | getName () const override |
| Return the name of this materialization unit. | |
| void | materialize (std::unique_ptr< MaterializationResponsibility > R) override |
| Implementations of this method should materialize all symbols in the materialzation unit, except for those that have been previously discarded. | |
| void | discard (const JITDylib &JD, const SymbolStringPtr &Sym) override |
| Implementations of this method should discard the given symbol from the source (e.g. | |
| Public Member Functions inherited from llvm::orc::MaterializationUnit | |
| MaterializationUnit (Interface I) | |
| virtual | ~MaterializationUnit ()=default |
| const SymbolFlagsMap & | getSymbols () const |
| Return the set of symbols that this source provides. | |
| const SymbolStringPtr & | getInitializerSymbol () const |
| Returns the initialization symbol for this MaterializationUnit (if any). | |
| void | doDiscard (const JITDylib &JD, const SymbolStringPtr &Name) |
| Called by JITDylibs to notify MaterializationUnits that the given symbol has been overridden. | |
Protected Member Functions | |
| virtual jitlink::Block & | createHeaderBlock (JITDylib &JD, jitlink::LinkGraph &G, jitlink::Section &HeaderSection) |
Protected Attributes | |
| MachOPlatform & | MOP |
| MachOPlatform::HeaderOptions | Opts |
| Protected Attributes inherited from llvm::orc::MaterializationUnit | |
| SymbolFlagsMap | SymbolFlags |
| SymbolStringPtr | InitSymbol |
Additional Inherited Members | |
| Static Public Attributes inherited from llvm::orc::MaterializationUnit | |
| static char | ID |
Definition at line 385 of file MachOPlatform.h.
| llvm::orc::SimpleMachOHeaderMU::SimpleMachOHeaderMU | ( | MachOPlatform & | MOP, |
| SymbolStringPtr | HeaderStartSymbol, | ||
| MachOPlatform::HeaderOptions | Opts ) |
Definition at line 1790 of file MachOPlatform.cpp.
References llvm::orc::MaterializationUnit::MaterializationUnit(), MOP, llvm::move(), and Opts.
|
protectedvirtual |
Definition at line 1824 of file MachOPlatform.cpp.
References llvm::Triple::aarch64, G, llvm::orc::MaterializationUnit::JITDylib, llvm_unreachable, MOP, Opts, and llvm::Triple::x86_64.
|
overridevirtual |
Implementations of this method should discard the given symbol from the source (e.g.
if the source is an LLVM IR Module and the symbol is a function, delete the function body or mark it available externally).
Implements llvm::orc::MaterializationUnit.
Definition at line 1804 of file MachOPlatform.cpp.
References llvm::orc::MaterializationUnit::JITDylib.
|
inlineoverridevirtual |
Return the name of this materialization unit.
Useful for debugging output.
Implements llvm::orc::MaterializationUnit.
Definition at line 389 of file MachOPlatform.h.
|
overridevirtual |
Implementations of this method should materialize all symbols in the materialzation unit, except for those that have been previously discarded.
Implements llvm::orc::MaterializationUnit.
Definition at line 1797 of file MachOPlatform.cpp.
|
protected |
Definition at line 397 of file MachOPlatform.h.
Referenced by createHeaderBlock(), materialize(), and SimpleMachOHeaderMU().
|
protected |
Definition at line 398 of file MachOPlatform.h.
Referenced by createHeaderBlock(), and SimpleMachOHeaderMU().