Method and apparatus using variable ranges to support symbolic debugging of optimized code
AssigneeHewlett-Packard Company
InventorsSue A. Meloy, Deborah S. Coutant
Life of this patent
Estimating the term…
Loading patent…
AssigneeHewlett-Packard Company
InventorsSue A. Meloy, Deborah S. Coutant
Estimating the term…
A system uses variable ranges to support symbolic debugging of optimized code. A debug symbol table is constructed which includes descriptions of each user resource in source code. Additionally, a range table is constructed. The range table contains, for each user resource which is stored in numerous locations during execution of the code, a list of ranges and a description of where the user resource may be found during each range. If the user resource is stored as a constant during a particular range, the value of the constant may be stored in the range table. The description of each user resource in the debug symbol table includes a flag which indicates whether there is a list of ranges in the range table for a particular user resource. If there is, the description of the particular user resource will include a pointer to the list of ranges for that user resource.
In a computing system having a memory, the computing system including a debugger which is used to debug compiled code generated by a compiler from source code, wherein the debugger accesses in the memory a debug symbol table generated by the computer system during compilation of the compiled code, the debug system table containing a plurality of debug symbol table entries, each debug symbol table entry in the plurality of debug symbol table entries describing a user resource used by the source code, an improvement to the computing system comprising:
A method for determining and recording, during optimization of computer programming code compiled for execution on a computing system, ranges of instructions within the computer programming code for which user resources reside in certain locations within the computing system, the method comprising the following steps performed by a computer of:
In a computing system which includes a debugger which is used to debug compiled code generated by a compiler from source code, an improvement to the computing system comprising:
Dependencies are inferred from the claim text.