diff options
author | Eugene Leviant <eleviant@accesssoftek.com> | 2017-01-09 09:56:31 +0000 |
---|---|---|
committer | Eugene Leviant <eleviant@accesssoftek.com> | 2017-01-09 09:56:31 +0000 |
commit | be2d68f774a4f032cd316601d0f9f2a363466401 (patch) | |
tree | e5fc0d2f1b42707fbbca684a88ec5be8c8650d64 /clang/lib/Format/FormatToken.cpp | |
parent | 3d574572989190573e65ed40cd2277d53a33550f (diff) | |
download | bcm5719-llvm-be2d68f774a4f032cd316601d0f9f2a363466401.tar.gz bcm5719-llvm-be2d68f774a4f032cd316601d0f9f2a363466401.zip |
RuntimeDyldELF: don't create thunk if not needed
This patch doesn't create thunk for branch operation when following conditions are met:
- Architecture is AArch64
- Relocation target is in the same object file
- Relocation target is close enough to be encoded in immediate offset
In such case we branch directly to the target instead of branching to thunk
Differential revision: https://reviews.llvm.org/D28108
llvm-svn: 291431
Diffstat (limited to 'clang/lib/Format/FormatToken.cpp')
0 files changed, 0 insertions, 0 deletions