DebugInfo: Refactor some tests to allow DW_AT_name to not be the first attribute...
[oota-llvm.git] / test / DebugInfo / X86 / DW_AT_object_pointer.ll
index 5fa96994a8be76258b49f823708a93cbb02bfd7f..4b9fae8e5af89ef26cc1511a3bb6c1197b4979ce 100644 (file)
@@ -7,7 +7,8 @@
 ; CHECK: DW_TAG_class_type
 ; CHECK: DW_AT_object_pointer [DW_FORM_ref4]     (cu + 0x{{[0-9a-f]*}} => {[[PARAM:0x[0-9a-f]*]]})
 ; CHECK: [[PARAM]]:     DW_TAG_formal_parameter
-; CHECK-NEXT: DW_AT_name [DW_FORM_strp]     ( .debug_str[0x{{[0-9a-f]*}}] = "this")
+; CHECK-NOT: DW_TAG
+; CHECK: DW_AT_name [DW_FORM_strp]     ( .debug_str[0x{{[0-9a-f]*}}] = "this")
 
 %class.A = type { i32 }