mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 05:31:51 +00:00
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
This commit is contained in:
parent
84b418a997
commit
4b1d68bca9
@ -10,11 +10,11 @@
|
|||||||
; foo f;
|
; foo f;
|
||||||
|
|
||||||
; CHECK: DW_AT_name {{.*}} "c"
|
; 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_data_member_location {{.*}} (0x00)
|
||||||
|
|
||||||
; CHECK: DW_AT_name {{.*}} "i"
|
; CHECK: DW_AT_name {{.*}} "i"
|
||||||
; CHECK-NOT: DW_AT_data_member_location
|
; CHECK-NOT: DW_TAG
|
||||||
; CHECK: DW_AT_data_member_location {{.*}} (0x04)
|
; CHECK: DW_AT_data_member_location {{.*}} (0x04)
|
||||||
|
|
||||||
%struct.foo = type { i8, i32 }
|
%struct.foo = type { i8, i32 }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user