diff options
Diffstat (limited to 'test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll')
-rw-r--r-- | test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll b/test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll index d534030..f016528 100644 --- a/test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll +++ b/test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll @@ -1,14 +1,20 @@ -; RUN: llc < %s | FileCheck %s -; RUN: llc < %s -regalloc=basic | FileCheck %s +; RUN: llc < %s -filetype=obj | llvm-dwarfdump -debug-dump=info - | FileCheck %s +; RUN: llc < %s -filetype=obj -regalloc=basic | llvm-dwarfdump -debug-dump=info - | FileCheck %s 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" target triple = "x86_64-apple-darwin10.0.0" ; Check debug info for variable z_s -;CHECK: .long Lset14 -;CHECK-NEXT: ## DW_AT_decl_file -;CHECK-NEXT: ## DW_AT_decl_line -;CHECK-NEXT: ## DW_AT_type -;CHECK-NEXT: ## DW_AT_location +; CHECK: DW_TAG_subprogram +; CHECK: DW_TAG_subprogram +; CHECK: DW_TAG_variable +; CHECK: DW_TAG_variable +; CHECK-NEXT: DW_AT_name {{.*}} "z_s" +; CHECK-NEXT: DW_AT_decl_file +; CHECK-NEXT: DW_AT_decl_line +; CHECK-NEXT: DW_AT_type{{.*}}{[[TYPE:.*]]} +; CHECK-NEXT: DW_AT_location +; CHECK: [[TYPE]]: +; CHECK-NEXT: DW_AT_name {{.*}} "int" @.str1 = private unnamed_addr constant [14 x i8] c"m=%u, z_s=%d\0A\00" |