summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
Commit message (Collapse)AuthorAgeFilesLines
* rename the dwarf class to DwarfPrinter. This matches the filenameChris Lattner2010-01-221-1/+1
| | | | | | and much more accurately describes what it is all about. llvm-svn: 94233
* MDNodes are not expected to disappear or replaced by another MDNode, so ↵Devang Patel2010-01-191-7/+7
| | | | | | there is no need to pay the cost of WeakVH and ValueMaps. llvm-svn: 93865
* Change DIEObjectLabel to take an MCSymbol instead of std::string.Chris Lattner2010-01-161-1/+1
| | | | llvm-svn: 93647
* Add support to emit debug info for C++ namespaces.Devang Patel2009-12-151-0/+5
| | | | llvm-svn: 91440
* Use DW_AT_specification to point to DIE describing function declaration.Devang Patel2009-12-141-11/+1
| | | | llvm-svn: 91278
* Construct CompileUnits lazily.Devang Patel2009-12-111-2/+2
| | | | llvm-svn: 91159
* Refactor code that finds context for a given die.Devang Patel2009-12-101-4/+3
| | | | | | Create global variable DIEs after creating subprogram DIEs. This allows function level static variable's to find their context at the time of DIE creation. llvm-svn: 91055
* Refactor.Devang Patel2009-12-101-0/+4
| | | | llvm-svn: 91051
* Reapply r90858, a cleanup patch.Devang Patel2009-12-091-22/+13
| | | | llvm-svn: 90979
* Revert 90858 90875 and 90805 for now.Devang Patel2009-12-081-17/+22
| | | | llvm-svn: 90898
* Cleanup.Devang Patel2009-12-081-22/+13
| | | | | | There is no need to supply ModuleCU to addType() as a parameter. llvm-svn: 90858
* Add support to emit debug info for c++ style namespaces.Devang Patel2009-12-071-0/+4
| | | | llvm-svn: 90805
* Add support to emit debug info for virtual functions and virtual base classes.Devang Patel2009-12-031-0/+2
| | | | llvm-svn: 90474
* Emit method definition DIE at module level (even for methods with inlined ↵Devang Patel2009-12-031-4/+15
| | | | | | functino body at soure level) so that the debugger can invoke it. This fixes many test failures in gdb test suite. llvm-svn: 90375
* Use StringRef (again) in DebugInfo interface.Devang Patel2009-11-251-2/+1
| | | | llvm-svn: 89866
* Use StringRef instead of std::string in DIEString.Devang Patel2009-11-241-1/+1
| | | | llvm-svn: 89793
* Emit pubtypes.Devang Patel2009-11-241-0/+6
| | | | llvm-svn: 89725
* Cosmetic changes, which were long overdue, in DwarfDebug.cpp.Devang Patel2009-11-211-138/+139
| | | | llvm-svn: 89537
* There is no need to use FoldingSet to unique DIEs. Devang Patel2009-11-211-4/+0
| | | | | | DIEs are created from MDNode, which are already uniqued. And DwarfDebug already uses ValueMaps to find and use existing DIE for a given MDNode. llvm-svn: 89518
* Remove VISIBILITY_HIDDEN from the classes in this directory. Fixes bug 5507.Nick Lewycky2009-11-171-4/+4
| | | | llvm-svn: 89075
* "Attach debug info with llvm instructions" mode was enabled a month ago. Now ↵Devang Patel2009-11-121-19/+1
| | | | | | make it permanent and remove old way of inserting intrinsics to encode debug info for line number and scopes. llvm-svn: 87014
* Implement support to debug inlined functions.Devang Patel2009-11-101-46/+54
| | | | llvm-svn: 86748
* Do not held on to DenseMap slot accross map insertion. The insertion may ↵Devang Patel2009-10-271-5/+5
| | | | | | | | cause the map to grow rending the slot invalid. Use this opportunity to use ValueMap instead of DenseMap. llvm-svn: 85298
* Add support to record DbgScope as inlined scope.Devang Patel2009-10-141-1/+1
| | | | llvm-svn: 84134
* Extract scope information from the variable itself, instead of relying on ↵Devang Patel2009-10-091-1/+1
| | | | | | | | alloca or llvm.dbg.declare location. While recording beginning of a function, use scope info from the first location entry instead of just relying on first location entry itself. llvm-svn: 83684
* Do not record line number to implicitly mark start of function if function ↵Devang Patel2009-10-081-1/+1
| | | | | | has arguments. Extra line number entries trip gdb in some cases. llvm-svn: 83563
* Remove dead code.Devang Patel2009-10-061-5/+0
| | | | llvm-svn: 83362
* Add utility routine to set begin and end labels for DbgScopes.Devang Patel2009-10-061-0/+7
| | | | | | This will be used by processDebugLoc(). llvm-svn: 83361
* Remove unintentional function decl.Devang Patel2009-10-061-1/+0
| | | | llvm-svn: 83356
* Add utility routine to collect variable debug info. This is not yet used.Devang Patel2009-10-061-0/+3
| | | | llvm-svn: 83355
* Adjust context for the global variables that are not at file scope, e.g.Devang Patel2009-10-051-0/+4
| | | | | | | void foo() { static int bar = 42; } Here, foo's DIE is parent of bar's DIE. llvm-svn: 83344
* Add support to extract lexical scope information from DebugLoc attached with ↵Devang Patel2009-10-011-1/+16
| | | | | | | | an machine instruction. This is not yet enabled. llvm-svn: 83210
* Use MDNode * directly as an RecordSourceLine() argument.Devang Patel2009-09-301-1/+1
| | | | llvm-svn: 83182
* Add a way for a frontend to generate more complex dwarf locationMike Stump2009-09-301-2/+13
| | | | | | | | | | | | | | | | | | information. This allows arbitrary code involving DW_OP_plus_uconst and DW_OP_deref. The scheme allows for easy extention to include, any, or all of the DW_OP_ opcodes. I thought about just exposing all of them, but, wasn't sure if people wanted the dwarf opcodes exposed in the api. Is that a layering violation? With this scheme, the entire existing block scheme used by llvm-gcc can be switched over to the new scheme. I think that would be cleaner, as then the compiler specific bits are not present in llvm proper. Before the old code can be yanked however, similar code in clang would have to be removed. Next up, more testing. llvm-svn: 83120
* Remove std::string uses from DebugInfo interface.Devang Patel2009-09-291-2/+2
| | | | llvm-svn: 83083
* Subprogram is a scope. Derive DISubprogram from DIScope.Devang Patel2009-08-311-4/+1
| | | | llvm-svn: 80637
* Add flag to mark structs for Apple Block "byref" variables; also add code toCaroline Tice2009-08-311-0/+13
| | | | | | | modify the type and location debug information for these variables to match the programmer's expectations. llvm-svn: 80625
* Reapply 79977.Devang Patel2009-08-281-12/+12
| | | | | | Use MDNodes to encode debug info in llvm IR. llvm-svn: 80406
* Revert 79977. It causes llvm-gcc bootstrap failures on some platforms.Devang Patel2009-08-261-12/+12
| | | | llvm-svn: 80073
* Update DebugInfo interface to use metadata, instead of special named ↵Devang Patel2009-08-251-12/+12
| | | | | | | | llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well. This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!) llvm-svn: 79977
* Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.Chris Lattner2009-08-221-2/+2
| | | | llvm-svn: 79763
* Record variable debug info at ISel time directly.Devang Patel2009-08-221-11/+1
| | | | llvm-svn: 79742
* switch off of 'Section' onto MCSection. We're not properly usingChris Lattner2009-07-311-1/+1
| | | | | | MCSection subclasses yet, but this is a step in the right direction. llvm-svn: 77708
* revert rev. 75503 for now.Devang Patel2009-07-131-4/+1
| | | | llvm-svn: 75507
* Use Mangler to remove leading '1' from linkage names.Devang Patel2009-07-131-1/+4
| | | | llvm-svn: 75503
* Remove dead code.Devang Patel2009-07-071-5/+0
| | | | llvm-svn: 74949
* s/MainCU/ModuleCU/gDevang Patel2009-06-291-3/+2
| | | | llvm-svn: 74452
* Remove debug info anchors - llvm.dbg.compile_units, llvm.dbg.subprogramsDevang Patel2009-06-261-13/+2
| | | | | | and llvm.dbg.global_variables. llvm-svn: 74251
* Simplify.Devang Patel2009-06-251-7/+1
| | | | llvm-svn: 74215
* Merge 'ConstructFunctionDbgScope' and 'ConstructAbstractDbgScope'.Bill Wendling2009-05-201-6/+2
| | | | llvm-svn: 72197
OpenPOWER on IntegriCloud