Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | elimiante the DWLabel class, using MCSymbol instead. Start | Chris Lattner | 2010-03-08 | 1 | -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 Patel | 2010-03-08 | 1 | -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 Patel | 2010-03-08 | 1 | -1/+1 | |
| | | | | | | This is a first step towards eliminating checks in Descriptor constructors. llvm-svn: 97975 | |||||
* | Revert r97947. | Devang Patel | 2010-03-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 97963 | |||||
* | Avoid using DIDescriptor.isNull(). | Devang Patel | 2010-03-08 | 1 | -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 Gregor | 2010-03-08 | 1 | -3/+6 | |
| | | | | llvm-svn: 97932 | |||||
* | Roll r97906 forward again, without double-deleting CompileUnit::IndexTyDie. | Jeffrey Yasskin | 2010-03-07 | 1 | -6/+3 | |
| | | | | llvm-svn: 97917 | |||||
* | _2_ gcc crashes, ah, ah, ah... | Jeffrey Yasskin | 2010-03-07 | 1 | -3/+6 | |
| | | | | | | (Rolling back r97906.) llvm-svn: 97909 | |||||
* | Avoid leaking CompileUnits and DbgScopes from DwarfDebug. Leaks found by ↵ | Jeffrey Yasskin | 2010-03-07 | 1 | -6/+3 | |
| | | | | | | Valgrind! llvm-svn: 97906 | |||||
* | Fix "the the" and similar typos. | Dan Gohman | 2010-02-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 95781 | |||||
* | constify a bunch of dwarf stuff now that the registerinfo method | Chris Lattner | 2010-01-26 | 1 | -3/+3 | |
| | | | | | | is constified. llvm-svn: 94613 | |||||
* | rename the dwarf class to DwarfPrinter. This matches the filename | Chris Lattner | 2010-01-22 | 1 | -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 Patel | 2010-01-19 | 1 | -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 Lattner | 2010-01-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 93647 | |||||
* | Add support to emit debug info for C++ namespaces. | Devang Patel | 2009-12-15 | 1 | -0/+5 | |
| | | | | llvm-svn: 91440 | |||||
* | Use DW_AT_specification to point to DIE describing function declaration. | Devang Patel | 2009-12-14 | 1 | -11/+1 | |
| | | | | llvm-svn: 91278 | |||||
* | Construct CompileUnits lazily. | Devang Patel | 2009-12-11 | 1 | -2/+2 | |
| | | | | llvm-svn: 91159 | |||||
* | Refactor code that finds context for a given die. | Devang Patel | 2009-12-10 | 1 | -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 Patel | 2009-12-10 | 1 | -0/+4 | |
| | | | | llvm-svn: 91051 | |||||
* | Reapply r90858, a cleanup patch. | Devang Patel | 2009-12-09 | 1 | -22/+13 | |
| | | | | llvm-svn: 90979 | |||||
* | Revert 90858 90875 and 90805 for now. | Devang Patel | 2009-12-08 | 1 | -17/+22 | |
| | | | | llvm-svn: 90898 | |||||
* | Cleanup. | Devang Patel | 2009-12-08 | 1 | -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 Patel | 2009-12-07 | 1 | -0/+4 | |
| | | | | llvm-svn: 90805 | |||||
* | Add support to emit debug info for virtual functions and virtual base classes. | Devang Patel | 2009-12-03 | 1 | -0/+2 | |
| | | | | llvm-svn: 90474 | |||||
* | Emit method definition DIE at module level (even for methods with inlined ↵ | Devang Patel | 2009-12-03 | 1 | -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 Patel | 2009-11-25 | 1 | -2/+1 | |
| | | | | llvm-svn: 89866 | |||||
* | Use StringRef instead of std::string in DIEString. | Devang Patel | 2009-11-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 89793 | |||||
* | Emit pubtypes. | Devang Patel | 2009-11-24 | 1 | -0/+6 | |
| | | | | llvm-svn: 89725 | |||||
* | Cosmetic changes, which were long overdue, in DwarfDebug.cpp. | Devang Patel | 2009-11-21 | 1 | -138/+139 | |
| | | | | llvm-svn: 89537 | |||||
* | There is no need to use FoldingSet to unique DIEs. | Devang Patel | 2009-11-21 | 1 | -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 Lewycky | 2009-11-17 | 1 | -4/+4 | |
| | | | | llvm-svn: 89075 | |||||
* | "Attach debug info with llvm instructions" mode was enabled a month ago. Now ↵ | Devang Patel | 2009-11-12 | 1 | -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 Patel | 2009-11-10 | 1 | -46/+54 | |
| | | | | llvm-svn: 86748 | |||||
* | Do not held on to DenseMap slot accross map insertion. The insertion may ↵ | Devang Patel | 2009-10-27 | 1 | -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 Patel | 2009-10-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 84134 | |||||
* | Extract scope information from the variable itself, instead of relying on ↵ | Devang Patel | 2009-10-09 | 1 | -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 Patel | 2009-10-08 | 1 | -1/+1 | |
| | | | | | | has arguments. Extra line number entries trip gdb in some cases. llvm-svn: 83563 | |||||
* | Remove dead code. | Devang Patel | 2009-10-06 | 1 | -5/+0 | |
| | | | | llvm-svn: 83362 | |||||
* | Add utility routine to set begin and end labels for DbgScopes. | Devang Patel | 2009-10-06 | 1 | -0/+7 | |
| | | | | | | This will be used by processDebugLoc(). llvm-svn: 83361 | |||||
* | Remove unintentional function decl. | Devang Patel | 2009-10-06 | 1 | -1/+0 | |
| | | | | llvm-svn: 83356 | |||||
* | Add utility routine to collect variable debug info. This is not yet used. | Devang Patel | 2009-10-06 | 1 | -0/+3 | |
| | | | | llvm-svn: 83355 | |||||
* | Adjust context for the global variables that are not at file scope, e.g. | Devang Patel | 2009-10-05 | 1 | -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 Patel | 2009-10-01 | 1 | -1/+16 | |
| | | | | | | | | an machine instruction. This is not yet enabled. llvm-svn: 83210 | |||||
* | Use MDNode * directly as an RecordSourceLine() argument. | Devang Patel | 2009-09-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 83182 | |||||
* | Add a way for a frontend to generate more complex dwarf location | Mike Stump | 2009-09-30 | 1 | -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 Patel | 2009-09-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 83083 | |||||
* | Subprogram is a scope. Derive DISubprogram from DIScope. | Devang Patel | 2009-08-31 | 1 | -4/+1 | |
| | | | | llvm-svn: 80637 | |||||
* | Add flag to mark structs for Apple Block "byref" variables; also add code to | Caroline Tice | 2009-08-31 | 1 | -0/+13 | |
| | | | | | | | modify the type and location debug information for these variables to match the programmer's expectations. llvm-svn: 80625 | |||||
* | Reapply 79977. | Devang Patel | 2009-08-28 | 1 | -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 Patel | 2009-08-26 | 1 | -12/+12 | |
| | | | | llvm-svn: 80073 |