summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix emission of debug data for global variables. getContext() on ↵James Molloy2011-09-261-2/+2
| | | | | | DIGlobalVariables is not valid any more. llvm-svn: 140539
* Do not unnecessarily use AT_specification DIE because it does not add any value.Devang Patel2011-09-211-1/+1
| | | | | | Few weeks ago, llvm completely inverted the debug info graph. Earlier each debug info node used to keep track of its compile unit, now compile unit keeps track of important nodes. One impact of this change is that the global variable's do not have any context, which should be checked before deciding to use AT_specification DIE. llvm-svn: 140282
* Add support to emit debug info for C++0x nullptr type.Devang Patel2011-09-141-4/+11
| | | | llvm-svn: 139751
* Eliminate unnecessary forwarding function.Devang Patel2011-08-181-0/+3
| | | | llvm-svn: 138006
* Add new DIE into the map asap.Devang Patel2011-08-181-8/+6
| | | | llvm-svn: 137998
* Until now all debug info MDNodes referred to a root MDNode, a compile unit. ↵Devang Patel2011-08-161-3/+7
| | | | | | | | This simplified handling of these needs in dwarf writer. However, one side effect of this is that during link time optimization all these MDNodes are _not_ uniqued. In other words there will be N number of MDNodes describing "int", "char" and all other types, which would suddenly grow when each object file starts using libraries like STL. MDNodes graph structure such that compiler unit keeps track of important MDNodes and update dwarf writer to process mdnodes top-down instead of bottom up. llvm-svn: 137778
* Refactor. Variables are part of compile unit so let CompileUnit create new ↵Devang Patel2011-08-151-0/+108
| | | | | | variable. llvm-svn: 137663
* Refactor. Global variables are part of compile unit so let CompileUnit ↵Devang Patel2011-08-151-0/+109
| | | | | | create new global variable. llvm-svn: 137621
* Refactor. A subprogram is part of compile unit so let CompileUnit construct ↵Devang Patel2011-08-151-2/+121
| | | | | | new subprogram. llvm-svn: 137618
* While emitting constant value, look through derived type and use underlying ↵Devang Patel2011-07-201-14/+23
| | | | | | basic type to determine size and signness of the constant value. llvm-svn: 135627
* Handle debug info for i128 constants.Devang Patel2011-06-241-1/+1
| | | | llvm-svn: 133821
* Incomplete type may not have corresponding DIE, so do not check DIEEntry ↵Devang Patel2011-06-011-4/+5
| | | | | | eagerly. llvm-svn: 132377
* Refactor.Devang Patel2011-05-311-7/+8
| | | | llvm-svn: 132373
* Include global types, that are referenced through local variables, in ↵Devang Patel2011-05-311-1/+7
| | | | | | debug_pubtypes list. llvm-svn: 132371
* Select DW_AT_const_value size based on global variable size.Devang Patel2011-05-281-5/+13
| | | | llvm-svn: 132239
* Keep this simple. Use DIType to get signness and size of a type. Based on ↵Devang Patel2011-05-271-18/+13
| | | | | | size, select appropraite form. llvm-svn: 132206
* Handle signed types gracefully.Devang Patel2011-05-271-9/+21
| | | | | | This fixes regressions reported by buildbots as a fallout of r132193. llvm-svn: 132197
* Select DW_AT_const_value size based on variable size.Devang Patel2011-05-271-2/+11
| | | | llvm-svn: 132193
* Doug convinced me that DW_AT_APPLE_objc_complete_type is more appropriate name.Devang Patel2011-05-121-2/+2
| | | | | | s/DW_AT_APPLE_objc_class_extension/DW_AT_APPLE_objc_complete_type/g llvm-svn: 131244
* Let Objective-C front-end identify class extension, in dwarf output, using ↵Devang Patel2011-05-121-0/+4
| | | | | | an attribute DW_AT_APPLE_objc_class_extension. llvm-svn: 131238
* Move CompileUnit::getOrCreateNameSpace() and CompileUnit::addPubType() from ↵Devang Patel2011-05-061-0/+35
| | | | | | DwarfDebug.cpp to DwarfCompileUnit.cpp llvm-svn: 130991
* Teach dwarf writer to handle complex address expression for .debug_loc entries.Devang Patel2011-04-281-5/+12
| | | | | | | This fixes clang generated blocks' variables' debug info. Radar 9279956. llvm-svn: 130373
* Simplify handling of variables with complex address (i.e. blocks variables)Devang Patel2011-04-271-21/+4
| | | | llvm-svn: 130339
* Refactor code. Keep dwarf register operation selection logic at one place.Devang Patel2011-04-261-72/+60
| | | | llvm-svn: 130231
* Rename a method to match what it really does.Devang Patel2011-04-251-3/+4
| | | | | | s/addVariableAddress/addFrameVariableAddress/g llvm-svn: 130170
* Introduce support to encode Objective-C property information in debugging ↵Devang Patel2011-04-161-0/+31
| | | | | | information generated for an interface. llvm-svn: 129624
* I missed this new file in previous commit.Devang Patel2011-04-121-0/+973
llvm-svn: 129407
OpenPOWER on IntegriCloud