###
DOI:
计算机系统应用英文版:2012,21(6):106-110
本文二维码信息
码上扫一扫!
编译基础设施Openimpact 调试信息生成的设计
(1.国家高性能计算重点实验室,合肥 230026;2.中国科学技术大学 计算机科学与技术学院,合肥 230026)
Design of Debugging Information Generation in Compiler Infrastructure Openimpact
(1.Key Laboratory of High Performance Computing, Hefei 230026, China;2.School of Computer Science and Technology, University of Science and Technology of China, Hefei 230026, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1626次   下载 2892
Received:September 29, 2011    Revised:November 12, 2011
中文摘要: 基于编译基础设施Openimpact 开发DSP 编译器的过程中,调试信息的生成是支持调试功能的必要条件。Openimpact 本身并不支持调试信息的生成,它仅仅将调试信息从源代码携带到前端,以高级中间语言Pcode 格式存放。为了支持调试信息的生成,我们必须对Openimpact 进行适当扩展。本文详细讨论了具体扩展方法,包括调试信息从Pcode 格式到低级中间语言Lcode 格式的转换以及从Lcode 格式到汇编格式的生成。
中文关键词: 调试信息  块作用域  行号  变量
Abstract:In the process of developping compiler for DSP based on compiler infrastructure Openimpact, the generation of debugging information is necessary for the support of debugging. Openimpact doesn't support the generation of debugging information which is only carried from source code to front end, stored in the form of advanced intermediate language Pcode. To support the generation of debugging information, it is necessary to make the corresponding expansion on Openimpact. It is discussed in detail that the concrete methods for expansion, containing the conversion of debugging information from Pcode to low-level intermediate language format Lcode and from Lcode format to assembly format.
文章编号:     中图分类号:    文献标志码:
基金项目:核高基项目(2009ZX01034-001-001-002)
引用文本:
陈元,郑启龙,陈思灵,邱鹏飞.编译基础设施Openimpact 调试信息生成的设计.计算机系统应用,2012,21(6):106-110
CHEN Yuan,ZHENG Qi-Long,CHEN Si-Ling,QIU Peng-Fei.Design of Debugging Information Generation in Compiler Infrastructure Openimpact.COMPUTER SYSTEMS APPLICATIONS,2012,21(6):106-110