diff options
Diffstat (limited to 'llvm/test/DebugInfo/X86/dbg-const-int.ll')
-rw-r--r-- | llvm/test/DebugInfo/X86/dbg-const-int.ll | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/X86/dbg-const-int.ll b/llvm/test/DebugInfo/X86/dbg-const-int.ll index 4ff0301bc17..7b6c40cc0a3 100644 --- a/llvm/test/DebugInfo/X86/dbg-const-int.ll +++ b/llvm/test/DebugInfo/X86/dbg-const-int.ll @@ -1,9 +1,13 @@ -; RUN: llc < %s - | FileCheck %s +; RUN: llc -mtriple=x86_64-apple-darwin12 -filetype=obj %s -o %t +; RUN: llvm-dwarfdump %t | 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-macosx10.6.7" ; Radar 9511391 -;CHECK: .byte 4 ## DW_AT_const_value +; CHECK: DW_TAG_variable +; CHECK: "i" +; CHECK: DW_AT_const_value [DW_FORM_sdata] (42) + define i32 @foo() nounwind uwtable readnone optsize ssp { entry: tail call void @llvm.dbg.value(metadata !8, i64 0, metadata !6), !dbg !9 |