File tree 1 file changed +4
-3
lines changed
llvm/test/DebugInfo/Generic
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
2
- ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
2
+ ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s --check-prefix %if target-byteorder-big-endian %{ CHECK-BE %} %else %{ CHECK-LE %}
3
3
4
4
; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -O0 -filetype=obj < %s > %t
5
- ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
5
+ ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s --check-prefix %if target-byteorder-big-endian %{ CHECK-BE %} %else %{ CHECK-LE %}
6
6
7
7
; Check for a variant part that has two members, one of which has a
8
8
; discriminant value.
22
22
; CHECK: DW_AT_alignment
23
23
; CHECK: DW_AT_data_member_location [DW_FORM_data1] (0x00)
24
24
; CHECK: DW_TAG_variant
25
- ; CHECK: DW_AT_discr_value [DW_FORM_block1] (<0x10> 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 )
25
+ ; CHECK-LE: DW_AT_discr_value [DW_FORM_block1] (<0x10> 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 )
26
+ ; CHECK-BE: DW_AT_discr_value [DW_FORM_block1] (<0x10> 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 )
26
27
; CHECK: DW_TAG_member
27
28
; CHECK: DW_AT_type
28
29
; CHECK: DW_AT_alignment
You can’t perform that action at this time.
0 commit comments