[PATCH] D111984: [msan] Add stat-family interceptors on Linux

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 14 20:12:58 PST 2021


vitalybuka added inline comments.


================
Comment at: compiler-rt/lib/msan/msan_interceptors.cpp:661
 
-#if SANITIZER_FREEBSD || SANITIZER_NETBSD
+#define SANITIZER_STAT_LINUX (SANITIZER_LINUX && __GLIBC_PREREQ(2, 33))
+#if SANITIZER_FREEBSD || SANITIZER_NETBSD || SANITIZER_STAT_LINUX
----------------
This condition is inconvenient
I have false msan reports on 2.33 because it's compiled on older glibc


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111984/new/

https://reviews.llvm.org/D111984



More information about the llvm-commits mailing list