[PATCH] D67331: Stop tracking atexit/__cxa_atexit/pthread_atfork allocations in LSan/NetBSD
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 12 10:58:09 PDT 2019
vitalybuka added a reviewer: eugenis.
vitalybuka added inline comments.
================
Comment at: lib/asan/asan_interceptors.cpp:585
+#if SANITIZER_NETBSD
+INTERCEPTOR(int, atexit, void (*f)()) {
----------------
ASAN_INTERCEPT_ATEXIT ?
================
Comment at: lib/asan/asan_interceptors.cpp:599
+};
+
+INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(),
----------------
ASAN_INTERCEPT_.... ?
================
Comment at: lib/lsan/lsan_interceptors.cpp:349
+#if SANITIZER_NETBSD
+INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg,
+ void *dso_handle) {
----------------
why only NETBSD in lsan for __cxa_atexit
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67331/new/
https://reviews.llvm.org/D67331
More information about the llvm-commits
mailing list