1; RUN: llc -mtriple=thumbv7-apple-watchos %s -filetype=obj -o %t
2; RUN: llvm-objdump -r %t | FileCheck %s
3
4  ; Relocation needs to explicitly mention _bar rather than be __text relative
5  ; because the __text relative offset is not encodable in an ARM instruction.
6; CHECK: ARM_RELOC_BR24 _bar
7define void @foo() "target-features"="-thumb-mode" {
8  tail call void @bar()
9  ret void
10}
11
12define void @one_inst() { ret void }
13
14define void @bar() {
15  ret void
16}
17