summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
Commit message (Collapse)AuthorAgeFilesLines
...
* elimiante the DWLabel class, using MCSymbol instead. Start Chris Lattner2010-03-081-3/+3
| | | | | | | switching some stuff over to passing around MCSymbol* instead of stem+ID. llvm-svn: 97993
* Derive DIType from DIScope. This simplifies getContext() where for members ↵Devang Patel2010-03-081-12/+0
| | | | | | the context is a type. This also eliminates need of CompileUnitMaps maintained by dwarf writer. llvm-svn: 97990
* Avoid using DIDescriptor.isNull(). Devang Patel2010-03-081-1/+1
| | | | | | This is a first step towards eliminating checks in Descriptor constructors. llvm-svn: 97975
* Revert r97947.Devang Patel2010-03-081-1/+1
| | | | llvm-svn: 97963
* Avoid using DIDescriptor.isNull().Devang Patel2010-03-081-1/+1
| | | | | | This is a first step towards eliminating unncessary constructor checks in light weight DIDescriptor wrappers. llvm-svn: 97947
* Revert r97917, which was causing Clang Debug self-host failures.Douglas Gregor2010-03-081-3/+6
| | | | llvm-svn: 97932
* Roll r97906 forward again, without double-deleting CompileUnit::IndexTyDie.Jeffrey Yasskin2010-03-071-6/+3
| | | | llvm-svn: 97917
* _2_ gcc crashes, ah, ah, ah...Jeffrey Yasskin2010-03-071-3/+6
| | | | | | (Rolling back r97906.) llvm-svn: 97909
* Avoid leaking CompileUnits and DbgScopes from DwarfDebug. Leaks found by ↵Jeffrey Yasskin2010-03-071-6/+3
| | | | | | Valgrind! llvm-svn: 97906
* Fix "the the" and similar typos.Dan Gohman2010-02-101-1/+1
| | | | llvm-svn: 95781
* constify a bunch of dwarf stuff now that the registerinfo methodChris Lattner2010-01-261-3/+3
| | | | | | is constified. llvm-svn: 94613
* 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
OpenPOWER on IntegriCloud