- Mar 26, 2011
-
-
Jakob Stoklund Olesen authored
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
-
- Mar 25, 2011
-
-
Jakob Stoklund Olesen authored
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
-
- Mar 24, 2011
-
-
Devang Patel authored
A better approach would be to move source id handling inside MC. llvm-svn: 128233
-
- Mar 23, 2011
-
-
Jakob Stoklund Olesen authored
Each of these instructions may have a RegsClobberInsn entry that can't be ignored. Consecutive ranges are coalesced later when DwarfDebug::emitDebugLoc merges entries. llvm-svn: 128155
-
- Mar 22, 2011
-
-
Jakob Stoklund Olesen authored
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
-
Andrew Trick authored
Temporarily reverting these to see if we can get llvm-objdump to link. Hopefully this is not the problem. llvm-svn: 128097
-
Jakob Stoklund Olesen authored
This is likely to fix the segfault in llvm-gcc-x86_64-darwin10-cross-mingw32. llvm-svn: 128051
-
Jakob Stoklund Olesen authored
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
-
- Mar 16, 2011
-
-
Daniel Dunbar authored
plus the test where it used to break.", which broke Clang self-host of a Debug+Asserts compiler, on OS X. llvm-svn: 127763
-
Renato Golin authored
llvm-svn: 127757
-
- Mar 03, 2011
-
-
Devang Patel authored
llvm-svn: 126962
-
Devang Patel authored
Add comment. llvm-svn: 126959
-
Devang Patel authored
llvm::Function argument count is not a good indicator of how many arugments does the function have at source level. If we need more space, just resize vector conservatively. This vector is only used once per function. llvm-svn: 126957
-
- Mar 01, 2011
-
-
Devang Patel authored
llvm-svn: 126794
-
- Feb 25, 2011
-
-
Cameron Zwarich authored
llvm-svn: 126488
-
- Feb 24, 2011
-
-
Devang Patel authored
Patch by Nathan Jeffords! llvm-svn: 126425
-
Devang Patel authored
llvm-svn: 126397
-
- Feb 23, 2011
-
-
Devang Patel authored
Use DW_FORM_data2 for DW_AT_language and let users use DW_LANG_lo_user=0x8000 to DW_LANG_hi_user=0xffff range. llvm-svn: 126339
-
- Feb 19, 2011
-
-
Devang Patel authored
Do not emit empty DW_TAG_lexical_block DIEs. In one test case, size of debug info reduced by almost 7%. llvm-svn: 126009
-
- Feb 15, 2011
-
-
Devang Patel authored
Ignore DBG_VALUE machine instructions while constructing instruction ranges based on location info. Machine instruction range consisting of only DBG_VALUE MIs only contributes consecutive labels in assembly output, which is harmless, and empty scope entry in DebugInfo, which confuses debugger tools. llvm-svn: 125577
-
- Feb 04, 2011
-
-
Devang Patel authored
llvm-svn: 124904
-
- Feb 02, 2011
-
-
Devang Patel authored
llvm-svn: 124755
-
Devang Patel authored
llvm-svn: 124752
-
- Jan 20, 2011
-
-
Devang Patel authored
llvm-svn: 123862
-
Devang Patel authored
llvm-svn: 123856
-
- Jan 11, 2011
-
-
Devang Patel authored
This is not yet completely enabled. llvm-svn: 123274
-
- Jan 10, 2011
-
-
Anton Korobeynikov authored
Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs and fixes here and there. llvm-svn: 123170
-
- Jan 07, 2011
-
-
Devang Patel authored
llvm-svn: 123039
-
Devang Patel authored
Enable live debug variables pass. llvm-svn: 123032
-
- Jan 06, 2011
-
-
Devang Patel authored
This fixes PR 8913 crash. llvm-svn: 122971
-
- Dec 09, 2010
-
-
Devang Patel authored
This fixes radar 8730409. llvm-svn: 121323
-
- Dec 06, 2010
-
-
Devang Patel authored
This will be used to truncate live range of DBG_VALUE instruction by register allocator and friends. llvm-svn: 121061
-
- Nov 29, 2010
-
-
Michael J. Spencer authored
llvm-svn: 120298
-
- Nov 20, 2010
-
-
Anton Korobeynikov authored
llvm-svn: 119904
-
- Nov 19, 2010
-
-
Anton Korobeynikov authored
llvm-svn: 119754
-
- Nov 18, 2010
-
-
Rafael Espindola authored
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
-
- Nov 13, 2010
-
-
Devang Patel authored
llvm-svn: 118940
-
- Nov 10, 2010
-
-
Devang Patel authored
Take care of special characters while creating named MDNode name to hold function specific local variable's info. This fixes radar 8653152. I am checking in testcase as a separate check-in. llvm-svn: 118726
-
- Nov 02, 2010
-
-
Devang Patel authored
llvm-svn: 118027
-
- Oct 29, 2010
-
-
Devang Patel authored
llvm-svn: 117615
-