1 @@ test st_value bit 0 of thumb function 2 @ RUN: llvm-mc %s -triple=thumbv7-linux-gnueabi -filetype=obj -o - | \ 3 @ RUN: llvm-readobj -t | FileCheck %s 4 .syntax unified 5 .text 6 .globl foo 7 .align 2 8 .code 16 9 .thumb_func 10 .type foo,%function 11 foo: 12 bx lr 13 14 .global bar 15 bar = foo 16 17 @@ make sure foo and bar are thumb function: bit 0 = 1 (st_value) 18 @CHECK: Symbol { 19 @CHECK: Name: bar 20 @CHECK-NEXT: Value: 0x1 21 @CHECK-NEXT: Size: 0 22 @CHECK-NEXT: Binding: Global 23 @CHECK-NEXT: Type: Function 24 25 @CHECK: Symbol { 26 @CHECK: Name: foo 27 @CHECK-NEXT: Value: 0x1 28 @CHECK-NEXT: Size: 0 29 @CHECK-NEXT: Binding: Global 30 @CHECK-NEXT: Type: Function 31