Home | History | Annotate | Download | only in ARM
      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 	.type	foo,%function
      9 	.code	16
     10 	.thumb_func
     11 foo:
     12 	bx	lr
     13 
     14 @@ make sure foo is thumb function: bit 0 = 1 (st_value)
     15 @CHECK:        Symbol {
     16 @CHECK:          Name: foo
     17 @CHECK-NEXT:     Value: 0x1
     18 @CHECK-NEXT:     Size: 0
     19 @CHECK-NEXT:     Binding: Global
     20 @CHECK-NEXT:     Type: Function
     21