Invention Grant
US09176845B2 Use of compiler-introduced identifiers to improve debug information pertaining to user variables
有权
使用编译器引入的标识符来改进与用户变量有关的调试信息
- Patent Title: Use of compiler-introduced identifiers to improve debug information pertaining to user variables
- Patent Title (中): 使用编译器引入的标识符来改进与用户变量有关的调试信息
-
Application No.: US12728033Application Date: 2010-03-19
-
Publication No.: US09176845B2Publication Date: 2015-11-03
- Inventor: Andrew MacLeod , Alexandre Oliva
- Applicant: Andrew MacLeod , Alexandre Oliva
- Applicant Address: US NC Raleigh
- Assignee: Red Hat, Inc.
- Current Assignee: Red Hat, Inc.
- Current Assignee Address: US NC Raleigh
- Agency: Lowenstein Sandler LLP
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F11/36

Abstract:
A method and system for improving debug information pertaining to user variables using a compiler. The method may include identifying a statement to be removed from its current position in an internal representation of a program by a compiler as part of the compiler optimization, replacing the statement to be removed with a debug annotation, adding references to the debug annotation in subsequent debug expressions referring to the removed statement, and emitting debug location information for a user variable using the debug annotation.
Public/Granted literature
- US20110231829A1 USE OF COMPILER-INTRODUCED IDENTIFIERS TO IMPROVE DEBUG INFORMATION PERTAINING TO USER VARIABLES Public/Granted day:2011-09-22
Information query