Jon Chesterfield via llvm-dev
2019-Jan-21 17:28 UTC
[llvm-dev] Building machine functions from outside llvm?
Hey, 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? Cheers Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190121/e5f9c129/attachment.html>