Recovery of noncurrent variables in source-level debugging of optimized code

作者: Amitabh Srivastava

DOI: 10.1007/3-540-17179-7_3

关键词:

摘要: Source-level debugging and code optimization are important tools of programming. A debugger has to supply precise information about the values variables at any run time error or breakpoint. Code optimization, on other hand, removes dead stores reorders save space, causing intermediate events happen out sequence. thorough implementation either limits usefulness other. Hennessy, in his paper “Symbolic Debugging Optimized Code” [2], suggested various techniques handle this. However, he explicitly chose not take advantage fact that many operations reversible partial results will be avaiable registers temporaries. This considers these questions order extend Hennessy's for recovery noncurrent variables. The algorithms developed can detect most recoverable variables, linear time. We also consider methods limit our search only a part dag.

参考文章(3)
Jeffrey D. Ullman, Alfred V. Aho, Principles of Compiler Design ,(1977)
David Wall, Amitabh Srivastava, Fred Templin, A note on Hennessy's “symbolic debugging of optimized code” ACM Transactions on Programming Languages and Systems. ,vol. 7, pp. 176- 181 ,(1985) , 10.1145/2363.215005
John Hennessy, Symbolic Debugging of Optimized Code ACM Transactions on Programming Languages and Systems. ,vol. 4, pp. 323- 344 ,(1982) , 10.1145/357172.357173