diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-11-01 20:59:53 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-11-01 20:59:53 +0000 |
commit | 4b1d68bca9e470d06600fed53e4e16251cac31b6 (patch) | |
tree | c36d471f228aade64bdc7e5f947cc1b671fc47d5 /test/DebugInfo | |
parent | 84b418a9975c3393fb6a146c79d385679966b6e3 (diff) | |
download | external_llvm-4b1d68bca9e470d06600fed53e4e16251cac31b6.zip external_llvm-4b1d68bca9e470d06600fed53e4e16251cac31b6.tar.gz external_llvm-4b1d68bca9e470d06600fed53e4e16251cac31b6.tar.bz2 |
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
Diffstat (limited to 'test/DebugInfo')
-rw-r--r-- | test/DebugInfo/X86/data_member_location.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/DebugInfo/X86/data_member_location.ll b/test/DebugInfo/X86/data_member_location.ll index a65acf0..fed5acc 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 } |