[llvm-dev] How to convert ModuleRef to Module?
张雨姗(ZHANG Yushan)-11310380 via llvm-dev
llvm-dev at lists.llvm.org
Tue Nov 6 01:49:34 PST 2018
Hi all,
Currently, I'm using a Python packge (llvmlite) and I could only get a ModuleRef object from the upper Python layer.
To obtain a Module object, I need to convert from ModuleRef, how could I do this?
I've checked the implementation of "core.cpp", but there is no such a function.
Thanks for any comments or discussions.
Bests,
Yushan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181106/9e8ebd79/attachment.html>
More information about the llvm-dev
mailing list