xo-pyjit: + Jit.machgen_current_module
This commit is contained in:
parent
8e72f98bcc
commit
595a3a2d5b
1 changed files with 3 additions and 0 deletions
|
|
@ -52,6 +52,9 @@ namespace xo {
|
|||
* RC 14jun2024 - I think this is true, modulo use of llvm resource trackers.
|
||||
*/
|
||||
py::return_value_policy::reference_internal)
|
||||
.def("machgen_current_module", &Jit::machgen_current_module,
|
||||
py::doc("Make current module available for execution via the jit.\n"
|
||||
"Adds all functions generated since last call to this method."))
|
||||
.def("lookup_dbl_dbl_fn",
|
||||
[](Jit & jit, const std::string & symbol) {
|
||||
auto llvm_addr = jit.lookup_symbol(symbol);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue