[all-commits] [llvm/llvm-project] c80d34: [msan][tsan] Refine __fxstat{, at}{, 64} condition
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Jan 28 09:15:52 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c80d34985993a2e4f6a8ad6cc92b0bc6bde16797
https://github.com/llvm/llvm-project/commit/c80d34985993a2e4f6a8ad6cc92b0bc6bde16797
Author: Fangrui Song <i at maskray.me>
Date: 2022-01-28 (Fri, 28 Jan 2022)
Changed paths:
M compiler-rt/lib/msan/msan_interceptors.cpp
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Log Message:
-----------
[msan][tsan] Refine __fxstat{,at}{,64} condition
In glibc before 2.33, include/sys/stat.h defines fstat/fstat64 to
`__fxstat/__fxstat64` and provides `__fxstat/__fxstat64` in libc_nonshared.a.
The symbols are glibc specific and not needed on other systems.
Reviewed By: vitalybuka, #sanitizers
Differential Revision: https://reviews.llvm.org/D118423
More information about the All-commits
mailing list