xo-jit: fix Jit::target_triple()

This commit is contained in:
Roland Conybeare 2024-06-16 11:34:27 -04:00
commit a23e0f56c6
2 changed files with 10 additions and 1 deletions

View file

@ -111,6 +111,10 @@ namespace xo {
std::move(*data_layout));
}
const std::string & target_triple() const {
return xsession_->getTargetTriple().getTriple();
}
const DataLayout & data_layout() const { return data_layout_; }
JITDylib &getMainJITDylib() { return MainJD; }