summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-07-05 18:30:52 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-07-05 18:30:52 +0000
commit4d950ef892b13100b2025108605ae1b0a3a96c64 (patch)
treeb1e07455f3f297f5b63b1dcbd4026bc4a18fb5cd /llvm/test
parent2d7938950850bbe77597c27c9bb743d9174468f3 (diff)
downloadbcm5719-llvm-4d950ef892b13100b2025108605ae1b0a3a96c64.tar.gz
bcm5719-llvm-4d950ef892b13100b2025108605ae1b0a3a96c64.zip
ARM: fix `-mlong-calls` for WoA
Not all code-paths set the relocation model to static for Windows. This currently breaks on Windows ARM with `-mlong-calls` when built with clang. Loosen the assertion to what it was previously. We would ideally ensure that all the configuration sets Windows to static relocation model. llvm-svn: 274570
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/ARM/Windows/long-calls.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/Windows/long-calls.ll b/llvm/test/CodeGen/ARM/Windows/long-calls.ll
index a878fad91e1..29e6f783ae5 100644
--- a/llvm/test/CodeGen/ARM/Windows/long-calls.ll
+++ b/llvm/test/CodeGen/ARM/Windows/long-calls.ll
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -mattr=+long-calls -o - %s \
+; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -relocation-model pic -mattr=+long-calls -o - %s \
; RUN: | FileCheck %s
declare arm_aapcs_vfpcc void @callee()
OpenPOWER on IntegriCloud