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.
Details
Details
- Reviewers
dvyukov vitalybuka - Group Reviewers
Restricted Project - Commits
- rGc80d34985993: [msan][tsan] Refine __fxstat{,at}{,64} condition
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp | ||
---|---|---|
1578 | Note to this: FreeBSD doesn't have this libc function. musl provides this as a glibc-compat non-API symbol. musl has #define fstat64 fstat so compiled programs won't get this symbol. |
Note to this: FreeBSD doesn't have this libc function.
musl provides this as a glibc-compat non-API symbol. musl has #define fstat64 fstat so compiled programs won't get this symbol.