[llvm] r203186 - DebugInfo: Refactor test to not rely on fixed DIE offsets
David Blaikie
dblaikie at gmail.com
Thu Mar 6 17:19:31 PST 2014
Author: dblaikie
Date: Thu Mar 6 19:19:31 2014
New Revision: 203186
URL: http://llvm.org/viewvc/llvm-project?rev=203186&view=rev
Log:
DebugInfo: Refactor test to not rely on fixed DIE offsets
Modified:
llvm/trunk/test/DebugInfo/X86/concrete_out_of_line.ll
Modified: llvm/trunk/test/DebugInfo/X86/concrete_out_of_line.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/concrete_out_of_line.ll?rev=203186&r1=203185&r2=203186&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/concrete_out_of_line.ll (original)
+++ llvm/trunk/test/DebugInfo/X86/concrete_out_of_line.ll Thu Mar 6 19:19:31 2014
@@ -7,15 +7,22 @@
; first check that we have a TAG_subprogram at a given offset and it has
; AT_inline.
-; CHECK: 0x0000011c: DW_TAG_subprogram [17]
-; CHECK-NEXT: DW_AT_specification
+; CHECK: DW_TAG_class_type
+; CHECK: DW_TAG_class_type
+; CHECK: DW_TAG_subprogram
+; CHECK: [[DTOR_DECL:0x........]]: DW_TAG_subprogram
+
+; CHECK: [[DTOR_OOL:0x........]]: DW_TAG_subprogram
+; CHECK-NEXT: DW_AT_specification {{.*}} {[[DTOR_DECL]]})
; CHECK-NEXT: DW_AT_inline
; and then that a TAG_subprogram refers to it with AT_abstract_origin.
-; CHECK: 0x0000015d: DW_TAG_subprogram [19]
-; CHECK-NEXT: DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x011c => {0x0000011c})
+; CHECK: DW_TAG_subprogram
+; CHECK: DW_TAG_subprogram
+; CHECK: DW_TAG_subprogram
+; CHECK-NEXT: DW_AT_abstract_origin {{.*}} {[[DTOR_OOL]]})
define i32 @_ZN17nsAutoRefCnt7ReleaseEv() {
entry:
More information about the llvm-commits
mailing list