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 11foo: 12 bx lr 13 14 .global bar 15bar = foo 16 17 .global baz 18baz = foo + 2 19 20@@ make sure foo and bar are thumb function: bit 0 = 1 (st_value) 21@CHECK: Symbol { 22@CHECK: Name: bar 23@CHECK-NEXT: Value: 0x1 24@CHECK-NEXT: Size: 0 25@CHECK-NEXT: Binding: Global 26@CHECK-NEXT: Type: Function 27 28@CHECK: Symbol { 29@CHECK: Name: baz 30@CHECK-NEXT: Value: 0x3 31@CHECK-NEXT: Size: 0 32@CHECK-NEXT: Binding: Global 33@CHECK-NEXT: Type: Function 34 35@CHECK: Symbol { 36@CHECK: Name: foo 37@CHECK-NEXT: Value: 0x1 38@CHECK-NEXT: Size: 0 39@CHECK-NEXT: Binding: Global 40@CHECK-NEXT: Type: Function 41