aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2022-06-23 21:47:14 -0700
committerPeter Collingbourne <peter@pcc.me.uk>2022-06-24 08:47:23 -0700
commitb064bc18c30c334d3111c3db45b8d38ec35ad045 (patch)
tree00eb111c6faca42fe04de299a4e81a8a64bfd939 /clang/lib/Frontend/CompilerInvocation.cpp
parentcb69ba4faaf1de207b363b5198d33e29d0375e5d (diff)
downloadllvm-b064bc18c30c334d3111c3db45b8d38ec35ad045.zip
llvm-b064bc18c30c334d3111c3db45b8d38ec35ad045.tar.gz
llvm-b064bc18c30c334d3111c3db45b8d38ec35ad045.tar.bz2
ELF: Do not relax ADRP/LDR -> ADRP/ADD for absolute symbols in PIC.
GOT references to absolute symbols can't be relaxed to use ADRP/ADD in position-independent code because these instructions produce a relative address. Differential Revision: https://reviews.llvm.org/D128492
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions