summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Give NamedRegionTimer an Enabled flag, allowing all its clients toDan Gohman2010-06-181-5/+3
| | | | | | | | | | | | | | | | | | | | switch from this: if (TimePassesIsEnabled) { NamedRegionTimer T(Name, GroupName); do_something(); } else { do_something(); // duplicate the code, this time without a timer! } to this: { NamedRegionTimer T(Name, GroupName, TimePassesIsEnabled); do_something(); } llvm-svn: 106285
* Use separate named MDNode to hold each function's local variable info.Devang Patel2010-06-161-2/+3
| | | | | | This speeds up local variable handling in DwarfDebug. llvm-svn: 106075
* Added a comment.Stuart Hastings2010-06-151-0/+5
| | | | llvm-svn: 106063
* Support for nested functions/classes in debug output. (Again.) Radar 7424645.Stuart Hastings2010-06-111-1/+23
| | | | llvm-svn: 105828
* Revert 105492 & 105493 due to a testcase regression. Radar 7424645.Stuart Hastings2010-06-051-18/+1
| | | | llvm-svn: 105511
* Support for nested functions/classes in debug output. Radar 7424645.Stuart Hastings2010-06-041-1/+18
| | | | llvm-svn: 105492
* Skip identical instruction while calculating DBG_VALUE range.Devang Patel2010-06-021-1/+4
| | | | llvm-svn: 105340
* Use local small vector.Devang Patel2010-06-021-1/+3
| | | | llvm-svn: 105332
* Ignore line number of debug value in undefined register.Devang Patel2010-06-011-0/+1
| | | | llvm-svn: 105292
* Revert 104841, 104842, 104876 due to buildbot failures. Radar 7424645.Stuart Hastings2010-05-281-11/+0
| | | | llvm-svn: 104953
* Do not drop location info for inlined function args.Devang Patel2010-05-271-2/+6
| | | | llvm-svn: 104884
* inlined function's arguments need a label to mark the start point because ↵Devang Patel2010-05-271-2/+5
| | | | | | they are not directly attached to current function. llvm-svn: 104848
* Support for nested functions/classes in debug output. Radar 7424645.Stuart Hastings2010-05-271-0/+11
| | | | llvm-svn: 104841
* Simplify. Eliminate unneeded debug_loc entry.Devang Patel2010-05-261-9/+9
| | | | llvm-svn: 104785
* There is no need to force an line number entry (using previous location) for ↵Devang Patel2010-05-261-4/+3
| | | | | | a temp label at unknown location. llvm-svn: 104740
* Identify instructions, that needs a label to mark debug info entity, in ↵Devang Patel2010-05-261-37/+61
| | | | | | advance. This simplifies beginScope(). llvm-svn: 104720
* Remove dead code.Devang Patel2010-05-261-5/+1
| | | | llvm-svn: 104706
* Do not construct location list backword!Devang Patel2010-05-261-13/+17
| | | | llvm-svn: 104705
* First cut at supporting .debug_loc section. Devang Patel2010-05-251-83/+218
| | | | | | This is used to track variable information. llvm-svn: 104649
* Do not emit line number entries for unknown debug values.Devang Patel2010-05-241-0/+3
| | | | | | This fixes recent regression in store.exp from gdb testsuite. llvm-svn: 104524
* Collect variable information during endFunction() instead of beginFunction().Devang Patel2010-05-221-12/+12
| | | | llvm-svn: 104412
* SimplifyDevang Patel2010-05-211-44/+23
| | | | llvm-svn: 104338
* Simplify.Devang Patel2010-05-211-16/+8
| | | | llvm-svn: 104302
* Refactor.Devang Patel2010-05-201-37/+68
| | | | llvm-svn: 104265
* Split DbgVariable. Eventually, variable info will be communicated through ↵Devang Patel2010-05-201-87/+82
| | | | | | frame index, or DBG_VALUE instruction, or collection of DBG_VALUE instructions. Plus each DbgVariable may not need a label. llvm-svn: 104233
* Revert r104165.Devang Patel2010-05-191-5/+11
| | | | llvm-svn: 104172
* There is no need to maintain InsnsBeginScopeSet separately. Devang Patel2010-05-191-11/+5
| | | | llvm-svn: 104165
* Do not forget to mark prcessed arguments.Devang Patel2010-05-141-0/+1
| | | | llvm-svn: 103822
* Add support to preserve type info for the variables that are removed by the ↵Devang Patel2010-05-141-13/+34
| | | | | | optimizer. llvm-svn: 103798
* Enable multiple Compile Units in one module.Devang Patel2010-05-101-160/+219
| | | | | | This means now 'llvm-ld a.bc b.bc' will preserve debug info appropriately. llvm-svn: 103439
* Instead of just verifying compile unit, verify entire type, variable, ↵Devang Patel2010-05-071-11/+10
| | | | | | namespace etc.. llvm-svn: 103327
* Remove DIGlobal.Devang Patel2010-05-071-1/+1
| | | | llvm-svn: 103325
* Verify entire type descriptor not just tag.Devang Patel2010-05-071-2/+2
| | | | llvm-svn: 103303
* Wrap const MDNode * inside DIDescriptor.Devang Patel2010-05-071-40/+40
| | | | llvm-svn: 103295
* Avoid DIDescriptor::getNode(). Use overloaded operators instead.Devang Patel2010-05-071-65/+65
| | | | llvm-svn: 103272
* Disable the new unknown-location code for now. It causes a majorDan Gohman2010-05-071-14/+20
| | | | | | | increase in the debug line info section, and it's causing regressions in a gdb testsuite. llvm-svn: 103226
* Update LabelsBeforeInsn also, when creating unknown-position labels.Dan Gohman2010-05-061-0/+5
| | | | llvm-svn: 103145
* Emit debug info for MachineInstrs with unknown debug locations, insteadDan Gohman2010-05-051-19/+34
| | | | | | | | of just letting them inherit the debug locations of adjacent instructions. Debug info should aim to be either accurate or absent. llvm-svn: 103135
* Set DW_AT_APPLE_omit_frame_ptr in endFunction() where MachineFunction is ↵Devang Patel2010-05-041-4/+6
| | | | | | available all the time. llvm-svn: 103001
* Attach AT_APPLE_optimized attribute to optimized function's debug info.Devang Patel2010-04-301-5/+8
| | | | llvm-svn: 102743
* Emit debug info for byval parameters.Devang Patel2010-04-281-4/+9
| | | | llvm-svn: 102486
* remove some default arguments to EmitAlignment.Chris Lattner2010-04-281-2/+2
| | | | llvm-svn: 102482
* Refactor. Devang Patel2010-04-281-50/+77
| | | | llvm-svn: 102481
* Use isReg(), isImm() and isFPImm().Devang Patel2010-04-271-9/+5
| | | | llvm-svn: 102470
* Check operand type first.Devang Patel2010-04-271-1/+2
| | | | llvm-svn: 102468
* Ignore DBG_VALUE instructions that points to undef values.Devang Patel2010-04-271-0/+5
| | | | llvm-svn: 102463
* Identify when a lexical scope is split in to multiple instruction ranges. ↵Devang Patel2010-04-271-202/+342
| | | | | | | | Emit such ranges using DW_AT_ranges. This patch fixes bug (PR6894) introduced by previous version of this patch. llvm-svn: 102454
* Use DW_AT_entry_pc instead of DW_AT_low_pc/DW_AT_high_pc pair. This ↵Devang Patel2010-04-261-3/+3
| | | | | | simplifies debug range entries. llvm-svn: 102394
* Revert 102135, 102129, 102127, 102106, 102104, 102102, 102012, 102004,Dan Gohman2010-04-231-361/+199
| | | | | | | because 102004 causes codegen to emit invalid assembly on at least x86_64-unknown-gnu-linux. llvm-svn: 102155
* Adjust debug range offsets for isWeakForLinker() functions.Devang Patel2010-04-221-6/+28
| | | | llvm-svn: 102127
OpenPOWER on IntegriCloud