24 lines · plain
1// RUN: llvm-mc --triple=thumbv7eb-linux-gnueabihf %s -filetype=obj | llvm-objdump --triple=thumbv7eb-linux-gnueabihf -s - | FileCheck %s2 3// CHECK: Contents of section .text4// CHECK-NEXT: 0000 d000bf00 5 6// Make sure we emit in correct endianness.7 8// CHECK: Contents of section .data9// CHECK-NEXT: 0000 12341234 1234 10 11 .syntax unified12 .text13 .thumb14 .thumb_func15.L1:16 beq Label17.L2:18 nop19Label:20 21 .data22 .short 0x123423 .fill (.L2 - .L1), 2, 0x123424