Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Refactor. | Devang Patel | 2011-04-05 | 1 | -1/+4 | |
| | | | | llvm-svn: 128929 | |||||
* | Remove dead code. | Devang Patel | 2011-03-31 | 1 | -5/+1 | |
| | | | | llvm-svn: 128639 | |||||
* | Collect and coalesce DBG_VALUE instructions before emitting the function. | Jakob Stoklund Olesen | 2011-03-26 | 1 | -18/+26 | |
| | | | | | | | | | | | Correctly terminate the range of register DBG_VALUEs when the register is clobbered or when the basic block ends. The code is now ready to deal with variables that are sometimes in a register and sometimes on the stack. We just need to teach emitDebugLoc to say 'stack slot'. llvm-svn: 128327 | |||||
* | Emit less labels for debug info and stop emitting .loc directives for ↵ | Jakob Stoklund Olesen | 2011-03-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | DBG_VALUEs. The .dot directives don't need labels, that is a leftover from when we created line number info manually. Instructions following a DBG_VALUE can share its label since the DBG_VALUE doesn't produce any code. llvm-svn: 128284 | |||||
* | Keep track of directory namd and fIx regression caused by Rafael's patch ↵ | Devang Patel | 2011-03-24 | 1 | -1/+1 | |
| | | | | | | | | r119613. A better approach would be to move source id handling inside MC. llvm-svn: 128233 | |||||
* | Reapply r128045 and r128051 with fixes. | Jakob Stoklund Olesen | 2011-03-22 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | This will extend the ranges of debug info variables in registers until they are clobbered. Fix 1: Don't mistake DBG_VALUE instructions referring to incoming arguments on the stack with DBG_VALUE instructions referring to variables in the frame pointer. This fixes the gdb test-suite failure. Fix 2: Don't trace through copies to physical registers setting up call arguments. These registers are call clobbered, and the source register is more likely to be a callee-saved register that can be extended through the call instruction. llvm-svn: 128114 | |||||
* | Revert r128045 and r128051, debug info enhancements. | Andrew Trick | 2011-03-22 | 1 | -10/+2 | |
| | | | | | | Temporarily reverting these to see if we can get llvm-objdump to link. Hopefully this is not the problem. llvm-svn: 128097 | |||||
* | Dont emit 'DBG_VALUE %noreg, ...' to terminate user variable ranges. | Jakob Stoklund Olesen | 2011-03-22 | 1 | -2/+10 | |
| | | | | | | | | | | These ranges get completely jumbled by the post-ra scheduler, and it is not really reasonable to expect it to make sense of them. Instead, teach DwarfDebug to notice when user variables in registers are clobbered, and terminate the ranges there. llvm-svn: 128045 | |||||
* | If argument numbering is encoded in metadata then emit arguments' debug info ↵ | Devang Patel | 2011-03-01 | 1 | -2/+10 | |
| | | | | | | in that order. llvm-svn: 126794 | |||||
* | Roll out r126425 and r126450 to see if it fixes the failures on the buildbots. | Cameron Zwarich | 2011-02-25 | 1 | -6/+0 | |
| | | | | llvm-svn: 126488 | |||||
* | Enable DebugInfo support for COFF object files. | Devang Patel | 2011-02-24 | 1 | -0/+6 | |
| | | | | | | Patch by Nathan Jeffords! llvm-svn: 126425 | |||||
* | Merge .debug_loc entries whenever possible to reduce debug_loc size. | Devang Patel | 2011-02-04 | 1 | -14/+22 | |
| | | | | llvm-svn: 124904 | |||||
* | Add support to describe template value parameter in debug info. | Devang Patel | 2011-02-02 | 1 | -0/+5 | |
| | | | | llvm-svn: 124755 | |||||
* | Add support to describe template parameter type in debug info. | Devang Patel | 2011-02-02 | 1 | -0/+5 | |
| | | | | llvm-svn: 124752 | |||||
* | Emit 128 bit constant. | Devang Patel | 2011-01-06 | 1 | -0/+1 | |
| | | | | | | This fixes PR 8913 crash. llvm-svn: 122971 | |||||
* | Change CodeGen to use .loc directives. This produces a lot more readable output | Rafael Espindola | 2010-11-18 | 1 | -65/+4 | |
| | | | | | | | | and testing is easier. A good example is the unknown-location.ll test that now can just look for ".loc 1 0 0". We also don't use a DW_LNE_set_address for every address change anymore. llvm-svn: 119613 | |||||
* | Remove DW_AT_start_scope support. It is incomplete and superseeded by ↵ | Devang Patel | 2010-11-12 | 1 | -9/+3 | |
| | | | | | | location entries support. llvm-svn: 118940 | |||||
* | s/beginScope/beginInstruction/g | Devang Patel | 2010-10-26 | 1 | -4/+4 | |
| | | | | | | s/endScope/endInstruction/g llvm-svn: 117376 | |||||
* | Remove dead argument. | Devang Patel | 2010-09-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 114920 | |||||
* | Fix linux/msvc build, move include. | Benjamin Kramer | 2010-09-13 | 1 | -0/+1 | |
| | | | | llvm-svn: 113776 | |||||
* | Simplify. | Devang Patel | 2010-08-31 | 1 | -3/+3 | |
| | | | | llvm-svn: 112583 | |||||
* | Revert r107202. It is not adding any value. | Devang Patel | 2010-08-24 | 1 | -1/+0 | |
| | | | | llvm-svn: 111870 | |||||
* | Simplify. | Devang Patel | 2010-08-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 110653 | |||||
* | Drop "const". It does not add value here. | Devang Patel | 2010-08-10 | 1 | -5/+5 | |
| | | | | llvm-svn: 110652 | |||||
* | Do not include file static variable in pubnames list. | Devang Patel | 2010-08-10 | 1 | -3/+0 | |
| | | | | | | Refactor and simplify code to avoid redundant checks. llvm-svn: 110642 | |||||
* | Undo accidental commit. | Devang Patel | 2010-08-09 | 1 | -0/+3 | |
| | | | | llvm-svn: 110623 | |||||
* | Simplify. Avoid redundant checks. | Devang Patel | 2010-08-09 | 1 | -3/+0 | |
| | | | | llvm-svn: 110621 | |||||
* | Refactoring. Update DbgVarible to handle queries itself. | Devang Patel | 2010-08-09 | 1 | -6/+4 | |
| | | | | llvm-svn: 110600 | |||||
* | It is ok, and convenient, to pass descriptors by value. | Devang Patel | 2010-08-09 | 1 | -5/+5 | |
| | | | | llvm-svn: 110590 | |||||
* | Reuse DIEInteger for 1. This is frequently used while emitting an attribute ↵ | Devang Patel | 2010-07-08 | 1 | -0/+2 | |
| | | | | | | using dwarf::DW_FORM_flag form. llvm-svn: 107903 | |||||
* | One MDNode may be used to create regular DIE as well as abstract DIE. | Devang Patel | 2010-07-07 | 1 | -0/+3 | |
| | | | | | | Keep track of abstract subprogram DIEs. llvm-svn: 107822 | |||||
* | Do not hardcode DW_AT_stmt_list value. | Devang Patel | 2010-06-29 | 1 | -0/+1 | |
| | | | | | | Inspired by Artur Pietrek. llvm-svn: 107202 | |||||
* | Preserve deleted function's local variables' debug info. | Devang Patel | 2010-06-28 | 1 | -0/+4 | |
| | | | | | | Radar 8122864. llvm-svn: 107027 | |||||
* | Remove dead code. | Devang Patel | 2010-06-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 106990 | |||||
* | Collect debug info for optimized variables of inlined functions. | Devang Patel | 2010-06-25 | 1 | -1/+2 | |
| | | | | llvm-svn: 106895 | |||||
* | Use local small vector. | Devang Patel | 2010-06-02 | 1 | -3/+0 | |
| | | | | llvm-svn: 105332 | |||||
* | Identify instructions, that needs a label to mark debug info entity, in ↵ | Devang Patel | 2010-05-26 | 1 | -0/+7 | |
| | | | | | | advance. This simplifies beginScope(). llvm-svn: 104720 | |||||
* | Remove dead code. | Devang Patel | 2010-05-26 | 1 | -6/+0 | |
| | | | | llvm-svn: 104706 | |||||
* | First cut at supporting .debug_loc section. | Devang Patel | 2010-05-25 | 1 | -4/+31 | |
| | | | | | | This is used to track variable information. llvm-svn: 104649 | |||||
* | Refactor. | Devang Patel | 2010-05-20 | 1 | -0/+8 | |
| | | | | llvm-svn: 104265 | |||||
* | Split DbgVariable. Eventually, variable info will be communicated through ↵ | Devang Patel | 2010-05-20 | 1 | -7/+29 | |
| | | | | | | 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 Patel | 2010-05-19 | 1 | -0/+2 | |
| | | | | llvm-svn: 104172 | |||||
* | There is no need to maintain InsnsBeginScopeSet separately. | Devang Patel | 2010-05-19 | 1 | -2/+0 | |
| | | | | llvm-svn: 104165 | |||||
* | Add support to preserve type info for the variables that are removed by the ↵ | Devang Patel | 2010-05-14 | 1 | -1/+1 | |
| | | | | | | optimizer. llvm-svn: 103798 | |||||
* | Enable multiple Compile Units in one module. | Devang Patel | 2010-05-10 | 1 | -2/+9 | |
| | | | | | | This means now 'llvm-ld a.bc b.bc' will preserve debug info appropriately. llvm-svn: 103439 | |||||
* | Remove DIGlobal. | Devang Patel | 2010-05-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 103325 | |||||
* | Wrap const MDNode * inside DIDescriptor. | Devang Patel | 2010-05-07 | 1 | -15/+15 | |
| | | | | llvm-svn: 103295 | |||||
* | Refactor. | Devang Patel | 2010-04-28 | 1 | -0/+10 | |
| | | | | llvm-svn: 102481 | |||||
* | Identify when a lexical scope is split in to multiple instruction ranges. ↵ | Devang Patel | 2010-04-27 | 1 | -12/+8 | |
| | | | | | | | | Emit such ranges using DW_AT_ranges. This patch fixes bug (PR6894) introduced by previous version of this patch. llvm-svn: 102454 | |||||
* | Revert 102135, 102129, 102127, 102106, 102104, 102102, 102012, 102004, | Dan Gohman | 2010-04-23 | 1 | -14/+12 | |
| | | | | | | | because 102004 causes codegen to emit invalid assembly on at least x86_64-unknown-gnu-linux. llvm-svn: 102155 |