From: Seiya Nuta Date: Tue, 20 Aug 2019 09:58:31 +0000 (+0000) Subject: [yaml2obj/obj2yaml][MachO] Fix a test failure in big endian hosts X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c134f2724c71d92b0ca654f1143b9ca48acd296a;p=llvm [yaml2obj/obj2yaml][MachO] Fix a test failure in big endian hosts These section contents are dummy data (0xdeadbeef) and it's endianess does not matter. - http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/37265 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369360 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/ObjectYAML/MachO/virtual_section.yaml b/test/ObjectYAML/MachO/virtual_section.yaml index b57eef9bb02..edc13df122d 100644 --- a/test/ObjectYAML/MachO/virtual_section.yaml +++ b/test/ObjectYAML/MachO/virtual_section.yaml @@ -175,7 +175,7 @@ LinkEditData: # CHECK-NEXT: reserved1: 0x00000000 # CHECK-NEXT: reserved2: 0x00000000 # CHECK-NEXT: reserved3: 0x00000000 -# CHECK-NEXT: content: {{(EFBEADDE){18}$}} +# CHECK-NEXT: content: {{(DEADBEEF|EFBEADDE){18}$}} # CHECK-NEXT: - sectname: __data # CHECK-NEXT: segname: __DATA # CHECK-NEXT: addr: 0x0000000000000048 @@ -188,7 +188,7 @@ LinkEditData: # CHECK-NEXT: reserved1: 0x00000000 # CHECK-NEXT: reserved2: 0x00000000 # CHECK-NEXT: reserved3: 0x00000000 -# CHECK-NEXT: content: EFBEADDE{{$}} +# CHECK-NEXT: content: {{(DEADBEEF|EFBEADDE)$}} # CHECK-NEXT: - sectname: __bss # CHECK-NEXT: segname: __DATA # CHECK-NEXT: addr: 0x00000000000000A0