commit | ab552995647d484a712bf15f77e6c6f4e8ac532b | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Wed Jan 23 22:39:11 2019 +0000 |
committer | Pirama Arumuga Nainar <pirama@google.com> | Thu Jan 24 10:09:13 2019 -0800 |
tree | c854ea21af99d3e18532a41f8e2cabde44c012a6 | |
parent | b339091cba349cc160e74147e0b4076445f08274 [diff] |
hwasan: Read shadow address from ifunc if we don't need a frame record. This saves a cbz+cold call in the interceptor ABI, as well as a realign in both ABIs, trading off a dcache entry against some branch predictor entries and some code size. Unfortunately the functionality is hidden behind a flag because ifunc is known to be broken on static binaries on Android. Differential Revision: https://reviews.llvm.org/D57084 Change-Id: I71c1d6a84294504a429fb9e725da471bd9bfc10b git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351989 91177308-0d34-0410-b5e6-96231b3b80d8