[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 21:31:08 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
----------------
foobarrior wrote:
> 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?
https://lab.llvm.org/staging/#/builders/72/builds/1685/steps/9/logs/stdio


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