Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Reapply r90858, a cleanup patch. | Devang Patel | 2009-12-09 | 1 | -144/+68 | |
| | | | | llvm-svn: 90979 | |||||
* | Revert 90858 90875 and 90805 for now. | Devang Patel | 2009-12-08 | 1 | -136/+151 | |
| | | | | llvm-svn: 90898 | |||||
* | Cleanup. | Devang Patel | 2009-12-08 | 1 | -145/+69 | |
| | | | | | | There is no need to supply ModuleCU to addType() as a parameter. llvm-svn: 90858 | |||||
* | Do not try to push dead variable's debug info into namespace info. | Devang Patel | 2009-12-08 | 1 | -3/+5 | |
| | | | | llvm-svn: 90857 | |||||
* | Add support to emit debug info for c++ style namespaces. | Devang Patel | 2009-12-07 | 1 | -8/+67 | |
| | | | | llvm-svn: 90805 | |||||
* | Don't print a space before the : between the file name and line number. | Dan Gohman | 2009-12-05 | 1 | -2/+2 | |
| | | | | | | And separate the directory and file name with a '/'. llvm-svn: 90641 | |||||
* | Print newlines after printing labels for debug info, so that the output | Dan Gohman | 2009-12-05 | 1 | -0/+1 | |
| | | | | | | isn't cluttered with things like "Llabel47:Llabel48: movq (%rsi), %xmm3" llvm-svn: 90638 | |||||
* | In TAG_subrange_type, uppder bound is zero indexed. | Devang Patel | 2009-12-04 | 1 | -2/+1 | |
| | | | | llvm-svn: 90617 | |||||
* | Insert composite type DIE into the map before processing type fields. This ↵ | Devang Patel | 2009-12-03 | 1 | -1/+1 | |
| | | | | | | allows fields to find their context DIE from the map. llvm-svn: 90498 | |||||
* | Add support to emit debug info for virtual functions and virtual base classes. | Devang Patel | 2009-12-03 | 1 | -3/+31 | |
| | | | | llvm-svn: 90474 | |||||
* | Emit method definition DIE at module level (even for methods with inlined ↵ | Devang Patel | 2009-12-03 | 1 | -24/+75 | |
| | | | | | | functino body at soure level) so that the debugger can invoke it. This fixes many test failures in gdb test suite. llvm-svn: 90375 | |||||
* | Clarify that DIEString does not keep a copy of the string. | Devang Patel | 2009-12-02 | 1 | -2/+2 | |
| | | | | llvm-svn: 90318 | |||||
* | Reuse existing subprogram DIE. | Devang Patel | 2009-12-01 | 1 | -2/+7 | |
| | | | | llvm-svn: 90281 | |||||
* | Clear function specific containers while processing end of a function, even ↵ | Devang Patel | 2009-12-01 | 1 | -9/+7 | |
| | | | | | | if DW_TAG_subprogram for current function is not found. llvm-svn: 90247 | |||||
* | If pointer type has a name then do not ignore the name. | Devang Patel | 2009-11-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 90172 | |||||
* | Avoid some possibly unsafe uses of StringRef::data(). | Benjamin Kramer | 2009-11-25 | 1 | -3/+3 | |
| | | | | llvm-svn: 89873 | |||||
* | Use StringRef (again) in DebugInfo interface. | Devang Patel | 2009-11-25 | 1 | -42/+41 | |
| | | | | llvm-svn: 89866 | |||||
* | Use StringRef instead of std::string in DIEString. | Devang Patel | 2009-11-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 89793 | |||||
* | Swith to pubtypes section before emitting pub types. | Devang Patel | 2009-11-24 | 1 | -0/+3 | |
| | | | | llvm-svn: 89787 | |||||
* | Emit pubtypes. | Devang Patel | 2009-11-24 | 1 | -23/+89 | |
| | | | | llvm-svn: 89725 | |||||
* | Simplify this code. | Dan Gohman | 2009-11-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 89702 | |||||
* | Revert r89487. | Devang Patel | 2009-11-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 89686 | |||||
* | Add getFrameIndexReference() to TargetRegisterInfo, which allows targets to | Jim Grosbach | 2009-11-22 | 1 | -5/+6 | |
| | | | | | | | | | tell debug info which base register to use to reference a frame index on a per-index basis. This is useful, for example, in the presence of dynamic stack realignment when local variables are indexed via the stack pointer and stack-based arguments via the frame pointer. llvm-svn: 89620 | |||||
* | 80-column cleanup | Jim Grosbach | 2009-11-22 | 1 | -10/+18 | |
| | | | | llvm-svn: 89612 | |||||
* | remove trailing whitespace | Jim Grosbach | 2009-11-21 | 1 | -39/+39 | |
| | | | | llvm-svn: 89567 | |||||
* | Cosmetic changes, which were long overdue, in DwarfDebug.cpp. | Devang Patel | 2009-11-21 | 1 | -375/+383 | |
| | | | | llvm-svn: 89537 | |||||
* | Remove dead code. | Devang Patel | 2009-11-21 | 1 | -15/+0 | |
| | | | | llvm-svn: 89522 | |||||
* | There is no need to use FoldingSet to unique DIEs. | Devang Patel | 2009-11-21 | 1 | -157/+56 | |
| | | | | | | 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 | |||||
* | Do not hold on to a map slot while new entries may be inserted into the map. | Devang Patel | 2009-11-20 | 1 | -27/+33 | |
| | | | | | | Use ValueMap, instead of std::map. llvm-svn: 89490 | |||||
* | There is no need to emit source location info for DW_TAG_pointer_type. | Devang Patel | 2009-11-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 89487 | |||||
* | Remove VISIBILITY_HIDDEN from the classes in this directory. Fixes bug 5507. | Nick Lewycky | 2009-11-17 | 1 | -1/+0 | |
| | | | | llvm-svn: 89075 | |||||
* | Revert r88939. | Nick Lewycky | 2009-11-17 | 1 | -2/+2 | |
| | | | | llvm-svn: 89066 | |||||
* | Revert r88939. | Devang Patel | 2009-11-16 | 1 | -2/+2 | |
| | | | | llvm-svn: 88973 | |||||
* | Add VISIBILITY_HIDDEN marker. | Devang Patel | 2009-11-16 | 1 | -2/+2 | |
| | | | | llvm-svn: 88939 | |||||
* | Ignore nameless variables. | Devang Patel | 2009-11-13 | 1 | -1/+3 | |
| | | | | llvm-svn: 87069 | |||||
* | "Attach debug info with llvm instructions" mode was enabled a month ago. Now ↵ | Devang Patel | 2009-11-12 | 1 | -232/+2 | |
| | | | | | | make it permanent and remove old way of inserting intrinsics to encode debug info for line number and scopes. llvm-svn: 87014 | |||||
* | If doesSupportDebugInformation() is false then do not try to emit dwarf ↵ | Devang Patel | 2009-11-11 | 1 | -0/+3 | |
| | | | | | | debug info. llvm-svn: 86874 | |||||
* | Fix -Asserts warning. | Daniel Dunbar | 2009-11-11 | 1 | -0/+1 | |
| | | | | llvm-svn: 86794 | |||||
* | Do not assume first function scope seen represents current function. | Devang Patel | 2009-11-11 | 1 | -2/+3 | |
| | | | | llvm-svn: 86771 | |||||
* | While creating DbgScopes, do not forget parent scope. | Devang Patel | 2009-11-11 | 1 | -0/+2 | |
| | | | | llvm-svn: 86763 | |||||
* | Ignore variable if scope info is not available. | Devang Patel | 2009-11-10 | 1 | -2/+5 | |
| | | | | llvm-svn: 86753 | |||||
* | Implement support to debug inlined functions. | Devang Patel | 2009-11-10 | 1 | -364/+488 | |
| | | | | llvm-svn: 86748 | |||||
* | Do not bother to emit debug info for nameless global variable. | Devang Patel | 2009-11-06 | 1 | -2/+2 | |
| | | | | llvm-svn: 86259 | |||||
* | Do not try to emit debug info entry for dead global variable. | Devang Patel | 2009-11-06 | 1 | -1/+6 | |
| | | | | llvm-svn: 86212 | |||||
* | While calculating original type size for a derived type, handle type ↵ | Devang Patel | 2009-11-04 | 1 | -3/+1 | |
| | | | | | | | | variants encoded as DIDerivedType appropriately. This improves bitfield support. llvm-svn: 86073 | |||||
* | Fix DW_AT_data_member_location for bit-fields. It points to the location of ↵ | Devang Patel | 2009-11-04 | 1 | -5/+12 | |
| | | | | | | annonymous field that covers respective field. llvm-svn: 86054 | |||||
* | Array element size does not match array size but array is not a bitfield. | Devang Patel | 2009-11-04 | 1 | -1/+3 | |
| | | | | llvm-svn: 86043 | |||||
* | Ignore unnamed variables. | Devang Patel | 2009-11-03 | 1 | -1/+3 | |
| | | | | llvm-svn: 85909 | |||||
* | Fix a funky "declared with greater visibility than the type of its field" | Jeffrey Yasskin | 2009-11-03 | 1 | -2/+2 | |
| | | | | | | warning from gcc by removing VISIBILITY_HIDDEN attributes. llvm-svn: 85873 | |||||
* | Do not held on to DenseMap slot accross map insertion. The insertion may ↵ | Devang Patel | 2009-10-27 | 1 | -17/+21 | |
| | | | | | | | | cause the map to grow rending the slot invalid. Use this opportunity to use ValueMap instead of DenseMap. llvm-svn: 85298 |