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