5#ifndef UNLOGIC_LIBRARY_H
6#define UNLOGIC_LIBRARY_H
10#include <llvm/ExecutionEngine/Orc/Core.h>
11#include <llvm/ExecutionEngine/Orc/LLJIT.h>
33 using DefineType = std::function<void(llvm::LLVMContext&, llvm::Module&)>;
39 llvm::orc::ExecutorAddr::fromPtr(native),
40 llvm::JITSymbolFlags(),
std::function< void(llvm::LLVMContext &, llvm::Module &)> DefineType
LibrarySymbol(Library &lib, char const *name, void *native, DefineType populate_scope)
llvm::orc::ExecutorSymbolDef symbol
Library(std::string name)
std::vector< LibrarySymbol * > symbols