aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitadb877d62e5ac88db037d91bcd2e9f7dc2c4cd7a (patch)
treefaf27fdac824ef293a98e063205152c8992b233a /test/CodeGen
parenteca915fb5242442756a80bad7f285cb54d7b8ea4 (diff)
downloadexternal_llvm-adb877d62e5ac88db037d91bcd2e9f7dc2c4cd7a.zip
external_llvm-adb877d62e5ac88db037d91bcd2e9f7dc2c4cd7a.tar.gz
external_llvm-adb877d62e5ac88db037d91bcd2e9f7dc2c4cd7a.tar.bz2
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'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128327 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/dbg-merge-loc-entry.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/dbg-merge-loc-entry.ll b/test/CodeGen/X86/dbg-merge-loc-entry.ll
index 83df147..9c75c51 100644
--- a/test/CodeGen/X86/dbg-merge-loc-entry.ll
+++ b/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