[all-commits] [llvm/llvm-project] def955: [Hashing] Remove Clang<=11 -fno-pic workaround (#1...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Thu Oct 3 09:06:05 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: def9550c9b389eaa3adbac3089acf06a61a6fdb5
https://github.com/llvm/llvm-project/commit/def9550c9b389eaa3adbac3089acf06a61a6fdb5
Author: Fangrui Song <i at maskray.me>
Date: 2024-10-03 (Thu, 03 Oct 2024)
Changed paths:
M llvm/include/llvm/ADT/Hashing.h
Log Message:
-----------
[Hashing] Remove Clang<=11 -fno-pic workaround (#110952)
If the LLVM build and an API user have different
`(!defined(__clang__) || __clang_major__ > 11)` values, we will have a
non-benign ODR violation and some users prefer a clear error to silent
breakage.
The Clang<=11 -fno-pic x86-64 workaround is likely not useful anyway
because builds are mostly PIC (`POSITION_INDEPENDENT_CODE` or
LLVM_ENABLE_PIC).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list