projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d0f8afa
)
Rewrite test to use llvm-dwarfdump instead of checking for asm comments.
author
Adrian Prantl
<aprantl@apple.com>
Thu, 17 Dec 2015 18:25:51 +0000
(18:25 +0000)
committer
Adrian Prantl
<aprantl@apple.com>
Thu, 17 Dec 2015 18:25:51 +0000
(18:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255912
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/DebugInfo/X86/reference-argument.ll
patch
|
blob
|
history
diff --git
a/test/DebugInfo/X86/reference-argument.ll
b/test/DebugInfo/X86/reference-argument.ll
index 8cf4fb825452c0f106377ae62a125f6001b78d95..602e57773d5edaa3010d57714da1083a741cdb86 100644
(file)
--- a/
test/DebugInfo/X86/reference-argument.ll
+++ b/
test/DebugInfo/X86/reference-argument.ll
@@
-1,10
+1,18
@@
-; RUN:
llc -O0 -mtriple=x86_64-apple-darwin -filetype=asm %s -
o - | FileCheck %s
+; RUN:
%llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -debug-dump=inf
o - | FileCheck %s
; ModuleID = 'aggregate-indirect-arg.cpp'
; extracted from debuginfo-tests/aggregate-indirect-arg.cpp
; ModuleID = 'aggregate-indirect-arg.cpp'
; extracted from debuginfo-tests/aggregate-indirect-arg.cpp
-; v should not be a pointer.
-; CHECK: ##DEBUG_VALUE: foo:v <- %RSI
-; rdar://problem/13658587
+; v should be a pointer.
+; CHECK: DW_TAG_subprogram
+; CHECK: DW_AT_specification {{.*}} "_ZN1A3fooE4SVal"
+; CHECK-NOT: DW_TAG_subprogram
+; CHECK: DW_TAG_formal_parameter
+; CHECK: DW_AT_name {{.*}} "this"
+; CHECK-NOT: DW_TAG_subprogram
+; CHECK: DW_TAG_formal_parameter
+; rsi+0
+; CHECK-NEXT: DW_AT_location [DW_FORM_block1] (<0x02> 74 00)
+; CHECK-NEXT: DW_AT_name {{.*}} "v"
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"
target triple = "x86_64-apple-macosx10.9.0"
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"
target triple = "x86_64-apple-macosx10.9.0"