Mer*_*ury 4 c compiler-construction gcc
When any compiler like GCC compiles a C Program it generates intermediate code. Just like we can get Assembly code by applying -s option to any .c file, similarly I want to get Register-Transfer-Language (RTL) for C and JAVA file . How to get it ?
这三个地址代码称为 gimple,参见例如https://gcc.gnu.org/onlinedocs/gccint/GIMPLE.html但这似乎更多的前端 - 后端通信,它可以使用转储
gcc -fdump-tree-gimple <file>
Run Code Online (Sandbox Code Playgroud)
见 http://www.cse.iitb.ac.in/~uday/courses/cs324-05/gccProjects/node4.html
从一些与 IR 相关的倾销选项,从 HLL 到深度。可能你想要选项 4。
| 归档时间: |
|
| 查看次数: |
1750 次 |
| 最近记录: |