summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Reapply r90858, a cleanup patch.Devang Patel2009-12-091-144/+68
| | | | llvm-svn: 90979
* Revert 90858 90875 and 90805 for now.Devang Patel2009-12-081-136/+151
| | | | llvm-svn: 90898
* Cleanup.Devang Patel2009-12-081-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 Patel2009-12-081-3/+5
| | | | llvm-svn: 90857
* Add support to emit debug info for c++ style namespaces.Devang Patel2009-12-071-8/+67
| | | | llvm-svn: 90805
* Don't print a space before the : between the file name and line number.Dan Gohman2009-12-051-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 outputDan Gohman2009-12-051-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 Patel2009-12-041-2/+1
| | | | llvm-svn: 90617
* Insert composite type DIE into the map before processing type fields. This ↵Devang Patel2009-12-031-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 Patel2009-12-031-3/+31
| | | | llvm-svn: 90474
* Emit method definition DIE at module level (even for methods with inlined ↵Devang Patel2009-12-031-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 Patel2009-12-021-2/+2
| | | | llvm-svn: 90318
* Reuse existing subprogram DIE.Devang Patel2009-12-011-2/+7
| | | | llvm-svn: 90281
* Clear function specific containers while processing end of a function, even ↵Devang Patel2009-12-011-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 Patel2009-11-301-1/+1
| | | | llvm-svn: 90172
* Avoid some possibly unsafe uses of StringRef::data().Benjamin Kramer2009-11-251-3/+3
| | | | llvm-svn: 89873
* Use StringRef (again) in DebugInfo interface.Devang Patel2009-11-251-42/+41
| | | | llvm-svn: 89866
* Use StringRef instead of std::string in DIEString.Devang Patel2009-11-241-1/+1
| | | | llvm-svn: 89793
* Swith to pubtypes section before emitting pub types.Devang Patel2009-11-241-0/+3
| | | | llvm-svn: 89787
* Emit pubtypes.Devang Patel2009-11-241-23/+89
| | | | llvm-svn: 89725
* Simplify this code.Dan Gohman2009-11-231-1/+1
| | | | llvm-svn: 89702
* Revert r89487.Devang Patel2009-11-231-1/+1
| | | | llvm-svn: 89686
* Add getFrameIndexReference() to TargetRegisterInfo, which allows targets toJim Grosbach2009-11-221-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 cleanupJim Grosbach2009-11-221-10/+18
| | | | llvm-svn: 89612
* remove trailing whitespaceJim Grosbach2009-11-211-39/+39
| | | | llvm-svn: 89567
* Cosmetic changes, which were long overdue, in DwarfDebug.cpp.Devang Patel2009-11-211-375/+383
| | | | llvm-svn: 89537
* Remove dead code.Devang Patel2009-11-211-15/+0
| | | | llvm-svn: 89522
* There is no need to use FoldingSet to unique DIEs. Devang Patel2009-11-211-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 Patel2009-11-201-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 Patel2009-11-201-1/+1
| | | | llvm-svn: 89487
* Remove VISIBILITY_HIDDEN from the classes in this directory. Fixes bug 5507.Nick Lewycky2009-11-171-1/+0
| | | | llvm-svn: 89075
* Revert r88939.Nick Lewycky2009-11-171-2/+2
| | | | llvm-svn: 89066
* Revert r88939.Devang Patel2009-11-161-2/+2
| | | | llvm-svn: 88973
* Add VISIBILITY_HIDDEN marker.Devang Patel2009-11-161-2/+2
| | | | llvm-svn: 88939
* Ignore nameless variables.Devang Patel2009-11-131-1/+3
| | | | llvm-svn: 87069
* "Attach debug info with llvm instructions" mode was enabled a month ago. Now ↵Devang Patel2009-11-121-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 Patel2009-11-111-0/+3
| | | | | | debug info. llvm-svn: 86874
* Fix -Asserts warning.Daniel Dunbar2009-11-111-0/+1
| | | | llvm-svn: 86794
* Do not assume first function scope seen represents current function. Devang Patel2009-11-111-2/+3
| | | | llvm-svn: 86771
* While creating DbgScopes, do not forget parent scope. Devang Patel2009-11-111-0/+2
| | | | llvm-svn: 86763
* Ignore variable if scope info is not available.Devang Patel2009-11-101-2/+5
| | | | llvm-svn: 86753
* Implement support to debug inlined functions.Devang Patel2009-11-101-364/+488
| | | | llvm-svn: 86748
* Do not bother to emit debug info for nameless global variable.Devang Patel2009-11-061-2/+2
| | | | llvm-svn: 86259
* Do not try to emit debug info entry for dead global variable.Devang Patel2009-11-061-1/+6
| | | | llvm-svn: 86212
* While calculating original type size for a derived type, handle type ↵Devang Patel2009-11-041-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 Patel2009-11-041-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 Patel2009-11-041-1/+3
| | | | llvm-svn: 86043
* Ignore unnamed variables.Devang Patel2009-11-031-1/+3
| | | | llvm-svn: 85909
* Fix a funky "declared with greater visibility than the type of its field"Jeffrey Yasskin2009-11-031-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 Patel2009-10-271-17/+21
| | | | | | | | cause the map to grow rending the slot invalid. Use this opportunity to use ValueMap instead of DenseMap. llvm-svn: 85298
OpenPOWER on IntegriCloud