Modular GCC
http://gcc.gnu.org/wiki/ModularGCC
Instead of having a single monolithic binary, I propose separating the major components in libbackend.a into several libraries.
These libraries would live in separate sub-directories under gcc/.
* gcc/
* c/ - The C front end.
* driver/ - The gcc driver.
* generic/ - Tree files.
* gimple/ - Gimple generation, analysis and optimization.
* ipa/ - Callgraph manager and IPA analysis/optimization.
* rtl/ - RTL code generation and optimization.
* diagnostic/ - Generic diagnostic routines.
* cfg/ - Control Flow Graph routines.
* openmp/ - OpenMP implementation.
I propose to modularize the gcc/ directory using the different Intermediate Languages (IL) as the main separators.
I believe that all the intermediate languages in GCC should have a streaming representation.
给我的感觉,有点像Open64了。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
真佩服你们研究gcc的人!
还少一个lno
而且gimple要Tuples,而不是那种占用内存多的Tree Node