[llvm] r193884 - DebugInfo: Improve readability of test case added in r193878
David Blaikie
dblaikie at gmail.com
Fri Nov 1 13:59:54 PDT 2013
Author: dblaikie
Date: Fri Nov 1 15:59:53 2013
New Revision: 193884
URL: http://llvm.org/viewvc/llvm-project?rev=193884&view=rev
Log:
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.
Modified:
llvm/trunk/test/DebugInfo/X86/data_member_location.ll
Modified: llvm/trunk/test/DebugInfo/X86/data_member_location.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/data_member_location.ll?rev=193884&r1=193883&r2=193884&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/data_member_location.ll (original)
+++ llvm/trunk/test/DebugInfo/X86/data_member_location.ll Fri Nov 1 15:59:53 2013
@@ -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 }
More information about the llvm-commits
mailing list