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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364907
91177308-0d34-0410-b5e6-
96231b3b80d8
# 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
Sections:
- Name: .foo
Type: SHT_PROGBITS
- Content: "1122334455667788"
+ Content: "fefefefefefefefe"
--- !ELF
FileHeader:
- Name: .foo
Type: SHT_PROGBITS
ShOffset: 0xFFFF0000
- Content: "1122334455667788"
+ Content: "fefefefefefefefe"