diff options
author | Fangrui Song <i@maskray.me> | 2022-01-13 15:38:02 -0800 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2022-01-20 13:29:49 -0800 |
commit | 6349865a8f3751a651f9451eac0405e01ee03a11 (patch) | |
tree | 39fb35035dc82ca7a620c90239e2d46e7b1fe13a /llvm/test/CodeGen/X86/horizontal-shuffle-2.ll | |
parent | b3dcd156472fbea65dd002cd670c5ae96de0d438 (diff) | |
download | llvm-6349865a8f3751a651f9451eac0405e01ee03a11.tar.gz |
[CMake] Don't use -fno-semantic-interposition with Clang<=13
Clang 13 has a -fsanitize-coverage -fno-semantic-interposition bug (D117190)
which may lead to
`relocation R_X86_64_PC32 cannot be used against symbol` linker error
in -DLLVM_USE_SANITIZE_COVERAGE=ON build when a shared object is built (e.g.
-DLLVM_BUILD_LLVM_DYLIB=on).
For simplicity, just disallow Clang 13 entirely.
Note: GCC -fPIC performance benefits from -fno-semantic-interposition
dramatically. Clang benefits little. Using this option is more for a dogfood
purpose to test correctness of this option, because in the wild some important
packages like CPython uses this option.
Differential Revision: https://reviews.llvm.org/D117183
(cherry picked from commit 1661c8cfcd6b286a1b5a599544afd87aa6b90243)
Diffstat (limited to 'llvm/test/CodeGen/X86/horizontal-shuffle-2.ll')
0 files changed, 0 insertions, 0 deletions