1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/MC/ARM/thumb-st_other.s
Fangrui Song 28e82b6565 [llvm-readobj] Change -t to --symbols in tests. NFC
-t is --symbols in llvm-readobj but --section-details (unimplemented) in readelf.
The confusing option should not be used since we aim for improving
compatibility.

Keep just one llvm-readobj -t use case in test/tools/llvm-readobj/symbols.test

llvm-svn: 359661
2019-05-01 09:28:24 +00:00

20 lines
415 B
ArmAsm

@ Check the value of st_other for thumb function.
@ ARM does not define any st_other flags for thumb function. The value
@ for st_other should always be 0.
@ RUN: llvm-mc < %s -triple thumbv5-linux-gnueabi -filetype=obj -o - \
@ RUN: | llvm-readobj --symbols | FileCheck %s
.syntax unified
.text
.align 2
.thumb_func
.global main
.type main,%function
main:
bx lr
@ CHECK: Name: main
@ CHECK: Other: 0