Method and system for correlating profile data dynamically generated from an optimized executable program with source code statements
US6275981A · kind A · utility
Assignee
Inventors
Key dates
| Filing date | Nov 12, 1998 |
| Grant date | Aug 14, 2001 |
| Priority date | — |
| Expiry date | Nov 12, 2018 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F11/3466
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method and system for relating profile data generated by monitoring the execution of an optimized machine-code computer program back to the source-language description of the computer program. Logical line numbers are associated with the basic blocks of the intermediate-code representation of the computer program and actual line numbers are associated with each instruction of the intermediate-code representation of the computer program. During optimization of the intermediate code, the logical line numbers remain fixed to basic blocks, while actual line numbers remain fixed to intermediate-code instructions. A branch instruction and the target of the branch instruction in the optimized machine-code computer program or in an optimized assembly-language computer program can be related back to source-language statements by using the actual line number associated with the branch instruction and the logical line number associated with the basic block that contains the target of the branch instruction.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.