41 lines · plain
1@ RUN: llvm-mc < %s -triple armv7-linux-gnueabi -filetype=obj -o - \2@ RUN: | llvm-readobj -r - | FileCheck %s3 4 .code 165 .thumb_func6thumb_caller:7 beq.w internal_arm_fn8 beq.w global_arm_fn9 beq.w global_thumb_fn10 beq.w internal_thumb_fn11 12 .type internal_arm_fn,%function13 .code 3214internal_arm_fn:15 bx lr16 17 .globl global_arm_fn18 .type global_arm_fn,%function19 .code 3220global_arm_fn:21 bx lr22 23 .type internal_thumb_fn,%function24 .code 1625 .thumb_func26internal_thumb_fn:27 bx lr28 29 .globl global_thumb_fn30 .type global_thumb_fn,%function31 .code 1632 .thumb_func33global_thumb_fn:34 bx lr35 36@ CHECK: Section (3) .rel.text37@ CHECK-NEXT: 0x0 R_ARM_THM_JUMP19 internal_arm_fn38@ CHECK-NEXT: 0x4 R_ARM_THM_JUMP19 global_arm_fn39@ CHECK-NEXT: 0x8 R_ARM_THM_JUMP19 global_thumb_fn40@ CHECK-NEXT: }41