本文已被:浏览 1626次 下载 2892次
Received:September 29, 2011 Revised:November 12, 2011
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.
keywords: debugging information block scope line number variable
文章编号: 中图分类号: 文献标志码:
基金项目:核高基项目(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
陈元,郑启龙,陈思灵,邱鹏飞.编译基础设施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