diff options
author | Leonard Chan <leonardchan@google.com> | 2020-07-14 14:56:38 -0700 |
---|---|---|
committer | Leonard Chan <leonardchan@google.com> | 2020-11-30 16:02:35 -0800 |
commit | cf8ff75bade763b054476321dcb82dcb2e7744c7 (patch) | |
tree | f21f0a3c64928f88f4ee9c016ff099ff952442d1 /clang/lib/Lex/ModuleMap.cpp | |
parent | 8cdf4920c47ddd3d60bdc3298f525512d483ce65 (diff) | |
download | llvm-cf8ff75bade763b054476321dcb82dcb2e7744c7.zip llvm-cf8ff75bade763b054476321dcb82dcb2e7744c7.tar.gz llvm-cf8ff75bade763b054476321dcb82dcb2e7744c7.tar.bz2 |
[clang][RelativeVTablesABI] Use dso_local_equivalent rather than emitting stubs
Thanks to D77248, we can bypass the use of stubs altogether and use PLT
relocations if they are available for the target. LLVM and LLD support the
R_AARCH64_PLT32 relocation, so we can also guarantee a static PLT relocation on AArch64.
Not emitting these stubs saves a lot of extra binary size.
Differential Revision: https://reviews.llvm.org/D83812
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions