diff options
author | Matt Morehouse <mascasa@google.com> | 2021-11-19 06:12:51 -0800 |
---|---|---|
committer | Matt Morehouse <mascasa@google.com> | 2021-11-19 07:18:27 -0800 |
commit | 671f0930fe29913011df4eacc89ca19a78e8dbb0 (patch) | |
tree | 87508460b8bc8918eac048e193417b42e5a85a04 /llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp | |
parent | d1fdf867b18ba929c4fc7764cb998d8ef7d28057 (diff) | |
download | llvm-671f0930fe29913011df4eacc89ca19a78e8dbb0.zip llvm-671f0930fe29913011df4eacc89ca19a78e8dbb0.tar.gz llvm-671f0930fe29913011df4eacc89ca19a78e8dbb0.tar.bz2 |
[X86] Selective relocation relaxation for +tagged-globals
For tagged-globals, we only need to disable relaxation for globals that
we actually tag. With this patch function pointer relocations, which
we do not instrument, can be relaxed.
This patch also makes tagged-globals work properly with LTO, as
-Wa,-mrelax-relocations=no doesn't work with LTO.
Reviewed By: pcc
Differential Revision: https://reviews.llvm.org/D113220
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp')
0 files changed, 0 insertions, 0 deletions