summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-26 02:19:36 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-26 02:19:36 +0000
commit9a624fa993e061e5926a7f044bc39fb06000e5f5 (patch)
tree758c5132aec9f4243bcfc37d1a4ef6f74b15931e /llvm/test/CodeGen
parent4d55f5a89362e568605f4bbb21814ee4becdb09c (diff)
downloadbcm5719-llvm-9a624fa993e061e5926a7f044bc39fb06000e5f5.tar.gz
bcm5719-llvm-9a624fa993e061e5926a7f044bc39fb06000e5f5.zip
Collect and coalesce DBG_VALUE instructions before emitting the function.
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
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/dbg-merge-loc-entry.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/dbg-merge-loc-entry.ll b/llvm/test/CodeGen/X86/dbg-merge-loc-entry.ll
index 83df1478cf1..9c75c51d11b 100644
--- a/llvm/test/CodeGen/X86/dbg-merge-loc-entry.ll
+++ b/llvm/test/CodeGen/X86/dbg-merge-loc-entry.ll
@@ -4,7 +4,7 @@ target triple = "x86_64-apple-darwin8"
;CHECK: Ldebug_loc0:
;CHECK-NEXT: .quad Lfunc_begin0
-;CHECK-NEXT: .quad Lfunc_end0
+;CHECK-NEXT: .quad L
;CHECK-NEXT: .short 1 ## Loc expr size
;CHECK-NEXT: .byte 85 ## DW_OP_reg5
;CHECK-NEXT: .quad 0
OpenPOWER on IntegriCloud