summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/zeroFunctionFile.c
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2020-01-06 14:16:05 +0000
committerPeter Smith <peter.smith@linaro.org>2020-01-07 09:57:51 +0000
commit051c4d5b7bcfb0c1feb69f4701086ac725322527 (patch)
treec9cee5dad4c16b4397af7c801fc1384e7ca50a3a /llvm/test/tools/llvm-cov/zeroFunctionFile.c
parentd364815351a887cbcd4579bc41995f8b2eb185ff (diff)
downloadbcm5719-llvm-051c4d5b7bcfb0c1feb69f4701086ac725322527.tar.gz
bcm5719-llvm-051c4d5b7bcfb0c1feb69f4701086ac725322527.zip
[LLD][ELF][AArch64] Do not use thunk for undefined weak symbol.
In AArch64 a branch to an undefined weak symbol that does not have a PLT entry should resolve to the next instruction. The thunk generation code can prevent this from happening as a range extension thunk can be generated if the branch is sufficiently far away from 0, the value of an undefined weak symbol. The fix is taken from the Arm implementation of needsThunk(), we prevent a thunk from being generated to an undefined weak symbol. fixes pr44451 Differential Revision: https://reviews.llvm.org/D72267
Diffstat (limited to 'llvm/test/tools/llvm-cov/zeroFunctionFile.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud