xo-jit: + Jit::xsession accessor
This commit is contained in:
parent
e8f8a43f7a
commit
274370c28c
1 changed files with 5 additions and 3 deletions
|
|
@ -109,13 +109,15 @@ namespace xo {
|
|||
std::move(*data_layout));
|
||||
}
|
||||
|
||||
/* exposing this for printing */
|
||||
const ExecutionSession * xsession() const { return xsession_.get(); }
|
||||
const DataLayout & data_layout() const { return data_layout_; }
|
||||
|
||||
JITDylib & dest_dynamic_lib_ref() { return dest_dynamic_lib_; }
|
||||
const std::string & target_triple() const {
|
||||
return xsession_->getTargetTriple().getTriple();
|
||||
}
|
||||
|
||||
const DataLayout & data_layout() const { return data_layout_; }
|
||||
|
||||
JITDylib & dest_dynamic_lib_ref() { return dest_dynamic_lib_; }
|
||||
|
||||
/** compile module to machine code that's runnable from this process;
|
||||
* incorporate into @ref dest_dynamic_lib_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue