llvm.org GIT mirror llvm / 3d8c358
Minor spelling and typo fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50448 91177308-0d34-0410-b5e6-96231b3b80d8 John Criswell 11 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
129129

When a program is being debugged, a debugger interacts with the user and

130130 turns the stored debug information into source-language specific information.
131131 As such, a debugger must be aware of the source-language, and is thus tied to
132 a specific language of family of languages.

132 a specific language or family of languages.

133133
134134
135135
141141
142142

The role of debug information is to provide meta information normally

143143 stripped away during the compilation process. This meta information provides an
144 llvm user a relationship between generated code and the original program source
144 LLVM user a relationship between generated code and the original program source
145145 code.

146146
147147

Currently, debug information is consumed by the DwarfWriter to produce dwarf

174174 have been run, and without any modification to the optimizations themselves.
175175 However, some optimizations may impact the ability to modify the current state
176176 of the program with a debugger, such as setting program variables, or calling
177 function that have been deleted.
177 functions that have been deleted.
178178
179179
  • LLVM optimizations gracefully interact with debugging information. If they
  • 180180 are not aware of debug information, they are automatically disabled as necessary
    181181 in the cases that would invalidate the debug info. This retains the LLVM
    182 features making it easy to write new transformations.
    182 features, making it easy to write new transformations.
    183183
    184184
  • As desired, LLVM optimizations can be upgraded to be aware of the LLVM
  • 185185 debugging information, allowing them to update the debugging information as they