Invention Grant
- Patent Title: Method and system for optimizing the object code of a program
- Patent Title (中): 用于优化程序目标代码的方法和系统
-
Application No.: US12495649Application Date: 2009-06-30
-
Publication No.: US08458681B1Publication Date: 2013-06-04
- Inventor: Cary A. Coutant , Christopher G. Demetriou
- Applicant: Cary A. Coutant , Christopher G. Demetriou
- Applicant Address: US CA Mountain View
- Assignee: Google Inc.
- Current Assignee: Google Inc.
- Current Assignee Address: US CA Mountain View
- Agency: Morgan, Lewis & Bockius LLP
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A method for optimizing the object code of a program is disclosed. A compiler generates, respectively, first and second object code segments for first and second source code segments of the program. If the two object code segments are determined to be identical, the compiler generates first and second debugging information entries in a compilation unit of the program and both entries include information for locating the first object code segment. The compiler inserts two entries into a call table in the compilation unit, each entry including information for locating a respective call site that invokes a respective source code segment within a call stack of the program and information for locating a respective debug information entry. The call table is used for associating an operation within the first object code segment with one of the first and second source code segments at runtime.
Public/Granted literature
- US2553025A Remote control device for brakes and the like Public/Granted day:1951-05-15
Information query