13#ifndef LLVM_EXECUTIONENGINE_ORC_SECTCREATE_H
14#define LLVM_EXECUTIONENGINE_ORC_SECTCREATE_H
35 uint64_t Alignment, std::unique_ptr<MemoryBuffer> Data,
38 ObjLinkingLayer(ObjLinkingLayer), SectName(
std::
move(SectName)), MP(MP),
39 Alignment(Alignment), Data(
std::
move(Data)),
40 ExtraSymbols(
std::
move(ExtraSymbols)) {}
44 void materialize(std::unique_ptr<MaterializationResponsibility> R)
override;
55 std::unique_ptr<MemoryBuffer> Data;
Flags for symbols in the JIT.
StringRef - Represent a constant reference to a string, i.e.
Represents a JIT'd dynamic library.
A MaterializationUnit represents a set of symbol definitions that can be materialized as a group,...
An ObjectLayer implementation built on JITLink.
void materialize(std::unique_ptr< MaterializationResponsibility > R) override
Implementations of this method should materialize all symbols in the materialzation unit,...
SectCreateMaterializationUnit(ObjectLinkingLayer &ObjLinkingLayer, std::string SectName, MemProt MP, uint64_t Alignment, std::unique_ptr< MemoryBuffer > Data, ExtraSymbolsMap ExtraSymbols=ExtraSymbolsMap())
StringRef getName() const override
Return the name of this materialization unit.
DenseMap< SymbolStringPtr, ExtraSymbolInfo > ExtraSymbolsMap
Pointer to a pooled string representing a symbol name.
MemProt
Describes Read/Write/Exec permissions for memory.
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
Implement std::hash so that hash_code can be used in STL containers.