xo-jit: + MachPipeline::xsession()
This commit is contained in:
parent
09d884737d
commit
585e4cc35c
2 changed files with 10 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ namespace xo {
|
|||
using xo::reflect::Reflect;
|
||||
using xo::reflect::StructMember;
|
||||
using xo::reflect::TypeDescr;
|
||||
using llvm::orc::ExecutionSession;
|
||||
using llvm::DataLayout;
|
||||
using std::cerr;
|
||||
using std::endl;
|
||||
|
|
@ -96,6 +97,11 @@ namespace xo {
|
|||
ir_pipeline_ = new IrPipeline(llvm_cx_);
|
||||
} /*recreate_llvm_ir_pipeline*/
|
||||
|
||||
const ExecutionSession *
|
||||
MachPipeline::xsession() const {
|
||||
return this->jit_->xsession();
|
||||
}
|
||||
|
||||
/** identifies target host/architecture for machine code.
|
||||
* e.g. "x86_64-unknown-linux-gnu"
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue