Mercurial > hg > CbC > CbC_llvm
view test/MC/ARM/elf-thumbfunc.s @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | 95c75e76d11b |
children | 803732b1fca8 |
line wrap: on
line source
@@ 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 .code 16 .thumb_func .type foo,%function foo: bx lr .global bar bar = foo @@ make sure foo and bar are thumb function: bit 0 = 1 (st_value) @CHECK: Symbol { @CHECK: Name: bar @CHECK-NEXT: Value: 0x1 @CHECK-NEXT: Size: 0 @CHECK-NEXT: Binding: Global @CHECK-NEXT: Type: Function @CHECK: Symbol { @CHECK: Name: foo @CHECK-NEXT: Value: 0x1 @CHECK-NEXT: Size: 0 @CHECK-NEXT: Binding: Global @CHECK-NEXT: Type: Function