[all-commits] [llvm/llvm-project] db7bca: [sanitizer][mips] Fix the condition to include san...
Xi Ruoyao via All-commits
all-commits at lists.llvm.org
Wed Mar 9 10:20:30 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: db7bca28638e86f18e5ba3b936c900144ef29b93
https://github.com/llvm/llvm-project/commit/db7bca28638e86f18e5ba3b936c900144ef29b93
Author: Xi Ruoyao <xry111 at mengyan1223.wang>
Date: 2022-03-09 (Wed, 09 Mar 2022)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_atomic_clang.h
Log Message:
-----------
[sanitizer][mips] Fix the condition to include sanitizer_atomic_clang_mips.h
The Glibc header [1] define _ABIO32 unconditionally on MIPS. So we need
to compare _MIPS_SIM and _ABIO32 to know if we are actually building for
MIPS32. Using sanitizer_atomic_clang_mips.h can cause test failures and
hangs on MIPS64.
[1]: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/mips/sgidefs.h
Reviewed By: dvyukov, vitalybuka, MaskRay
Differential Revision: https://reviews.llvm.org/D121207
More information about the All-commits
mailing list