2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/data-commands.s -o %t.o
3 # RUN: ld.lld -o %t %t.o --script %s
4 # RUN: llvm-objdump -s %t | FileCheck %s
15 QUAD(0x1122334455667788)
29 # CHECK: Contents of section .foo:
30 # CHECK-NEXT: ff11ff22 11ff4433 2211ff88 77665544
33 # CHECK: Contents of section .bar:
34 # CHECK-NEXT: ff12ff22 11ff4633 2211ff88 77665544
37 # RUN: llvm-mc -filetype=obj -triple=mips64-unknown-linux %p/Inputs/data-commands.s -o %t2.o
38 # RUN: ld.lld --script %s %t2.o -o %t2
39 # RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=BIGENDIAN %s
40 # BIGENDIAN: Contents of section .foo:
41 # BIGENDIAN-NEXT: ff11ff11 22ff1122 3344ff11 22334455
42 # BIGENDIAN-NEXT: 667788
43 # BIGENDIAN-NEXT: Contents of section .bar:
44 # BIGENDIAN-NEXT: ff12ff11 22ff1122 3346ff11 22334455
45 # BIGENDIAN-NEXT: 667788