1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/MC/ARM/assembler-fill.s
Fangrui Song 1c1cc1c5ed [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options
As announced here: http://lists.llvm.org/pipermail/llvm-dev/2019-April/131786.html

Grouped option syntax (POSIX Utility Conventions) does not play well with -long-option
A subsequent change will reject -long-option.
2020-03-15 17:46:23 -07:00

24 lines
479 B
ArmAsm

// RUN: llvm-mc --triple=thumbv7eb-linux-gnueabihf %s -filetype=obj | llvm-objdump --triple=thumbv7eb-linux-gnueabihf -s - | FileCheck %s
// CHECK: Contents of section .text
// CHECK-NEXT: 0000 d000bf00
// Make sure we emit in correct endianness.
// CHECK: Contents of section .data
// CHECK-NEXT: 0000 12341234 1234
.syntax unified
.text
.thumb
.thumb_func
.L1:
beq Label
.L2:
nop
Label:
.data
.short 0x1234
.fill (.L2 - .L1), 2, 0x1234