Update DebugInfo tests for the change in DEBUG_VALUE output in r253338.
authorDan Gohman <dan433584@gmail.com>
Tue, 17 Nov 2015 16:15:11 +0000 (16:15 +0000)
committerDan Gohman <dan433584@gmail.com>
Tue, 17 Nov 2015 16:15:11 +0000 (16:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253340 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/ARM/PR16736.ll
test/DebugInfo/X86/array.ll
test/DebugInfo/X86/dbg-value-dag-combine.ll
test/DebugInfo/X86/debug-loc-asan.ll
test/DebugInfo/X86/op_deref.ll
test/DebugInfo/X86/reference-argument.ll
test/DebugInfo/X86/vla.ll

index 905cb2d174e1f3ce864a54a8f49673ef66871c18..dd299a2a97d00896418651ae3698f5719c91fa5f 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llc -filetype=asm < %s | FileCheck %s
-; CHECK: @DEBUG_VALUE: h:x <- [R{{.*}}+{{.*}}]
+; CHECK: @DEBUG_VALUE: h:x <- [%R{{.*}}+{{.*}}]
 ; generated from:
 ; clang -cc1 -triple  thumbv7 -S -O1 arm.cpp  -g
 ;
index 3e0180e62d54bc36f86a86ba4ff41ef11c1571a4..a50a44cfb954b82f139e99fdf3d9e7779c5d0c71 100644 (file)
@@ -16,8 +16,8 @@
 ; Test that we only emit register-indirect locations for the array array.
 ; rdar://problem/14874886
 ;
-; CHECK:     ##DEBUG_VALUE: main:array <- [R{{.*}}+0]
-; CHECK-NOT: ##DEBUG_VALUE: main:array <- R{{.*}}
+; CHECK:     ##DEBUG_VALUE: main:array <- [%R{{.*}}+0]
+; CHECK-NOT: ##DEBUG_VALUE: main:array <- %R{{.*}}
 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.9.0"
 
index ffbec19fa128af9825bde1b2d677456af3b9c81e..6243be8aa4a637efced896cd402f30895b9cb3bd 100644 (file)
@@ -15,7 +15,7 @@ entry:
   call void @llvm.dbg.value(metadata i32 0, i64 0, metadata !13, metadata !DIExpression()), !dbg !14
   %tmp2 = load i32, i32 addrspace(1)* %ip, align 4, !dbg !15
   %tmp3 = add i32 0, %tmp2, !dbg !15
-; CHECK:  ##DEBUG_VALUE: idx <- E{{..$}}
+; CHECK:  ##DEBUG_VALUE: idx <- %E{{..$}}
   call void @llvm.dbg.value(metadata i32 %tmp3, i64 0, metadata !13, metadata !DIExpression()), !dbg !15
   %arrayidx = getelementptr i32, i32 addrspace(1)* %ip, i32 %1, !dbg !16
   store i32 %tmp3, i32 addrspace(1)* %arrayidx, align 4, !dbg !16
index 7f25f015a340f3838f942cffc47db5f355e87a7b..d1131379f56677993782e96756151240e246dcf1 100644 (file)
 ; with "clang++ -S -emit-llvm -fsanitize=address -O0 -g test.cc"
 
 ; First, argument variable "y" resides in %rdi:
-; CHECK: DEBUG_VALUE: bar:y <- RDI
+; CHECK: DEBUG_VALUE: bar:y <- %RDI
 
 ; Then its address is stored in a location on a stack:
 ; CHECK: movq %rdi, [[OFFSET:[0-9]+]](%rsp)
 ; CHECK-NEXT: [[START_LABEL:.Ltmp[0-9]+]]
-; CHECK-NEXT: DEBUG_VALUE: bar:y <- [RSP+[[OFFSET]]]
+; CHECK-NEXT: DEBUG_VALUE: bar:y <- [%RSP+[[OFFSET]]]
 ; This location should be valid until the end of the function.
 
 ; CHECK: .Ldebug_loc{{[0-9]+}}:
index 1d89a68691882bd4e12c16371a058ab73fdc200f..621d3f5f7f1b66a99a919f90de24d41cd885fc80 100644 (file)
@@ -20,7 +20,7 @@
 ; right now, so we check the asm output:
 ; RUN: llc -O0 -mtriple=x86_64-apple-darwin %s -o - -filetype=asm | FileCheck %s -check-prefix=ASM-CHECK
 ; vla should have a register-indirect address at one point.
-; ASM-CHECK: DEBUG_VALUE: vla <- RCX
+; ASM-CHECK: DEBUG_VALUE: vla <- %RCX
 ; ASM-CHECK: DW_OP_breg2
 
 ; RUN: llvm-as %s -o - | llvm-dis - | FileCheck %s --check-prefix=PRETTY-PRINT
index d45d04d1396c533d586e9bc8f6d181a1da29a41e..8cf4fb825452c0f106377ae62a125f6001b78d95 100644 (file)
@@ -3,7 +3,7 @@
 ; extracted from debuginfo-tests/aggregate-indirect-arg.cpp
 
 ; v should not be a pointer.
-; CHECK: ##DEBUG_VALUE: foo:v <- RSI
+; CHECK: ##DEBUG_VALUE: foo:v <- %RSI
 ; rdar://problem/13658587
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
index 68d40ae5d33becfea4ae078c21a56f89b0c0b6fb..f3f4d9910027ebb7b5f006c016e021e30ec808c0 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: llc -O0 -mtriple=x86_64-apple-darwin -filetype=asm %s -o - | FileCheck %s
 ; Ensure that we generate an indirect location for the variable length array a.
-; CHECK: ##DEBUG_VALUE: vla:a <- RDX
+; CHECK: ##DEBUG_VALUE: vla:a <- %RDX
 ; CHECK: DW_OP_breg1
 ; rdar://problem/13658587
 ;