mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 22:55:15 +00:00
f89da7210b
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179361 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
479 B
ArmAsm
21 lines
479 B
ArmAsm
@@ test st_value bit 0 of thumb function
|
|
@ RUN: llvm-mc %s -triple=thumbv7-linux-gnueabi -filetype=obj -o - | \
|
|
@ RUN: llvm-readobj -t | FileCheck %s
|
|
.syntax unified
|
|
.text
|
|
.globl foo
|
|
.align 2
|
|
.type foo,%function
|
|
.code 16
|
|
.thumb_func
|
|
foo:
|
|
bx lr
|
|
|
|
@@ make sure foo is thumb function: bit 0 = 1 (st_value)
|
|
@CHECK: Symbol {
|
|
@CHECK: Name: foo
|
|
@CHECK-NEXT: Value: 0x1
|
|
@CHECK-NEXT: Size: 0
|
|
@CHECK-NEXT: Binding: Global
|
|
@CHECK-NEXT: Type: Function
|