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

Nikita Malyavin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 14 20:25:25 PST 2021


foobarrior 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
----------------
vitalybuka wrote:
> This condition is inconvenient
> I have false msan reports on 2.33 because it's compiled on older glibc
Hi Vitaly!
What's your setup?
And can you provide an exmple of false positive?


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