aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/DebugInfo.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-11-15 09:38:24 +0100
committerGitHub <noreply@github.com>2023-11-15 09:38:24 +0100
commit89361007aa8a44d68f2620570fd4efcc8757f3bb (patch)
tree73fd584a5223910d7ab3dc6a3b0716ec3726ee35 /llvm/lib/IR/DebugInfo.cpp
parent261b471015ef674253f03a4ae213919d983e016e (diff)
downloadllvm-89361007aa8a44d68f2620570fd4efcc8757f3bb.zip
llvm-89361007aa8a44d68f2620570fd4efcc8757f3bb.tar.gz
llvm-89361007aa8a44d68f2620570fd4efcc8757f3bb.tar.bz2
[hwasan] Move __hwasan_thread_enter/__hwasan_thread_exit out of namespace (#72123)
Due to a GCC bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25940), GCC doesn't consider extern "C" functions with the same name but different namespace to be the same. As such, the default visibility attribute (on a declaration outside the namespace) doesn't get applied to the definition in the namespace and the symbol is not exported. This came up as an ABI diff when switching between gcc and clang for compiling compiler-rt.
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions