开发者

Is it possible to dynamically generate bytecode that is executed inside the LLVM started by lli?

开发者 https://www.devze.com 2023-04-12 10:17 出处:网络
I am currently evaluating possible tools to generate machine code ahead-of-time an开发者_JAVA百科d dynamically for a toy compiler project.

I am currently evaluating possible tools to generate machine code ahead-of-time an开发者_JAVA百科d dynamically for a toy compiler project.

The compiler should be able to translate the source code into a runnable byte code so that code can be added later dynamically to the running byte code.

I am wondering whether this is possible with LLVM, i.e. is it possible to extend (or modify) LLVM byte code that is run by the LLVM JIT-compiler/interpreter lli?

0

精彩评论

暂无评论...
验证码 换一张
取 消