From 4b1d68bca9e470d06600fed53e4e16251cac31b6 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 1 Nov 2013 20:59:53 +0000 Subject: [PATCH] DebugInfo: Improve readability of test case added in r193878 The point is to ensure that the attribute in question (DW_AT_data_member_location) is associated with the prior tag, so ensure that we don't see another tag starting between the intended tag and the desired attribute. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193884 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/DebugInfo/X86/data_member_location.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/DebugInfo/X86/data_member_location.ll b/test/DebugInfo/X86/data_member_location.ll index a65acf0e2ae..fed5acc02c3 100644 --- a/test/DebugInfo/X86/data_member_location.ll +++ b/test/DebugInfo/X86/data_member_location.ll @@ -10,11 +10,11 @@ ; foo f; ; CHECK: DW_AT_name {{.*}} "c" -; CHECK-NOT: DW_AT_data_member_location +; CHECK-NOT: DW_TAG ; CHECK: DW_AT_data_member_location {{.*}} (0x00) ; CHECK: DW_AT_name {{.*}} "i" -; CHECK-NOT: DW_AT_data_member_location +; CHECK-NOT: DW_TAG ; CHECK: DW_AT_data_member_location {{.*}} (0x04) %struct.foo = type { i8, i32 }