Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

17 lines
457 B
LLVM

; RUN: llc -mtriple=thumbv7-apple-watchos %s -filetype=obj -o %t
; RUN: llvm-objdump -r %t | FileCheck %s
; Relocation needs to explicitly mention _bar rather than be __text relative
; because the __text relative offset is not encodable in an ARM instruction.
; CHECK: ARM_RELOC_BR24 _bar
define void @foo() "target-features"="-thumb-mode" {
tail call void @bar()
ret void
}
define void @one_inst() { ret void }
define void @bar() {
ret void
}