summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Do not emit name entry for a pointer type.Devang Patel2009-10-161-1/+1
| | | | llvm-svn: 84276
* If there is not any llvm instruction associated with each lexical scope ↵Devang Patel2009-10-161-2/+10
| | | | | | encoded in debug info then create such scope on demand for variable info. llvm-svn: 84262
* Add support to record DbgScope as inlined scope.Devang Patel2009-10-141-24/+43
| | | | llvm-svn: 84134
* s/DebugLoc.CompileUnit/DebugLoc.Scope/gDevang Patel2009-10-131-7/+7
| | | | | | s/DebugLoc.InlinedLoc/DebugLoc.InlinedAtLoc/g llvm-svn: 84054
* Fix a -Asserts warning.Daniel Dunbar2009-10-131-2/+3
| | | | llvm-svn: 83950
* Find enclosing subprogram info.Devang Patel2009-10-121-1/+19
| | | | llvm-svn: 83922
* Extract scope information from the variable itself, instead of relying on ↵Devang Patel2009-10-091-21/+30
| | | | | | | | 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
* Check invalid debug info for enums. This may happen when underlyng enum is ↵Devang Patel2009-10-091-2/+4
| | | | | | optimized away. Eventually DwarfChecker will clean this up during llvm verification stage. llvm-svn: 83655
* Do not record line number to implicitly mark start of function if function ↵Devang Patel2009-10-081-11/+22
| | | | | | has arguments. Extra line number entries trip gdb in some cases. llvm-svn: 83563
* Add support to handle debug info attached to an instruction.Devang Patel2009-10-061-1/+6
| | | | | | This is not yet enabled. llvm-svn: 83400
* Fix cut-n-pasto.Devang Patel2009-10-061-1/+1
| | | | llvm-svn: 83367
OpenPOWER on IntegriCloud