[llvm] r364907 - [yaml2obj] - An attempt to fix a ppc64be build bot after r364898

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 04:02:09 PDT 2019


Author: grimar
Date: Tue Jul  2 04:02:09 2019
New Revision: 364907

URL: http://llvm.org/viewvc/llvm-project?rev=364907&view=rev
Log:
[yaml2obj] - An attempt to fix a ppc64be build bot after r364898

I guess the problem is because of endianess of
the bytes tested by "od" tool. I changed the Content
sequence as it does not actually matter.

Modified:
    llvm/trunk/test/tools/yaml2obj/elf-override-shoffset.yaml

Modified: llvm/trunk/test/tools/yaml2obj/elf-override-shoffset.yaml
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/yaml2obj/elf-override-shoffset.yaml?rev=364907&r1=364906&r2=364907&view=diff
==============================================================================
--- llvm/trunk/test/tools/yaml2obj/elf-override-shoffset.yaml (original)
+++ llvm/trunk/test/tools/yaml2obj/elf-override-shoffset.yaml Tue Jul  2 04:02:09 2019
@@ -77,9 +77,9 @@ Sections:
 # RUN: od -t x8 -v %t3 >> %t.txt
 # RUN: FileCheck %s --input-file=%t.txt --check-prefix=CASE2
 
-# CASE2: [[OFFSET:.*]] 8877665544332211
+# CASE2: [[OFFSET:.*]] fefefefefefefefe
 # CASE2: [[FILESIZE:.*]]{{$}}
-# CASE2: [[OFFSET]] 8877665544332211
+# CASE2: [[OFFSET]] fefefefefefefefe
 # CASE2: [[FILESIZE]]{{$}}
 
 --- !ELF
@@ -91,7 +91,7 @@ FileHeader:
 Sections:
   - Name: .foo
     Type: SHT_PROGBITS
-    Content: "1122334455667788"
+    Content: "fefefefefefefefe"
 
 --- !ELF
 FileHeader:
@@ -103,4 +103,4 @@ Sections:
   - Name: .foo
     Type: SHT_PROGBITS
     ShOffset: 0xFFFF0000
-    Content: "1122334455667788"
+    Content: "fefefefefefefefe"




More information about the llvm-commits mailing list