[llvm-dev] Building machine functions from outside llvm?

Jon Chesterfield via llvm-dev llvm-dev at lists.llvm.org
Mon Jan 21 09:28:49 PST 2019


I had a request earlier for a means of building machine functions from an
application linked to LLVM. The application currently composes strings
containing assembly and then calls LLVM in order to parse them and emit
object files.

An alternative would be to construct the MachineInstrs using an API like
BuildMI directly. I'd be interested to hear if anyone is doing this already
- essentially using the interfaces I previously considered internal as an
alternative to formatted strings of assembly. Any serious pitfalls here?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190121/e5f9c129/attachment.html>

More information about the llvm-dev mailing list