xo-pyjit: + MachPipeline::mangle
This commit is contained in:
parent
7e5aca41e7
commit
b7c4e8f93c
1 changed files with 4 additions and 0 deletions
|
|
@ -165,6 +165,10 @@ namespace xo {
|
|||
.def("dump_current_module", &MachPipeline::dump_current_module,
|
||||
py::doc("Dump contents of current module to console"))
|
||||
|
||||
.def("mangle", &MachPipeline::mangle,
|
||||
py::arg("symbol"),
|
||||
py::doc("mangle(symbol) reports mangled version of symbol.\n"
|
||||
"throws exception if mangling fails"))
|
||||
|
||||
.def("lookup_fn",
|
||||
[](MachPipeline & jit, const std::string & prototype, const std::string & symbol) -> pycaller_base* {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue