diff options
author | Weiming Zhao <weimingz@codeaurora.org> | 2017-11-09 17:32:57 +0000 |
---|---|---|
committer | Weiming Zhao <weimingz@codeaurora.org> | 2017-11-09 17:32:57 +0000 |
commit | aa0fde0a680d79995d4bc166c9fd1f3de3810960 (patch) | |
tree | 55ed3869c01ebd1695290b40184e1b3405966619 /lib/sanitizer_common/sanitizer_fuchsia.cc | |
parent | 57c7865216d50a1b4fd85fefcd5d8a731f3eed0e (diff) |
[Builtins] Do not use tailcall for Thumb1
Summary:
The `b` instruction in Thumb1 has limited range, which may cause link-time errors if the jump target is far away.
This patch guards the tailcalls for non-Thumb1
Reviewers: peter.smith, compnerd, rengolin, eli.friedman
Reviewed By: rengolin
Subscribers: joerg, dalias, javed.absar, llvm-commits
Differential Revision: https://reviews.llvm.org/D39700
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@317814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_fuchsia.cc')
0 files changed, 0 insertions, 0 deletions