File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
system/lib/compiler-rt/lib/lsan Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,13 @@ static const char kStdSuppressions[] =
108
108
#if SANITIZER_MAC
109
109
// For Darwin and os_log/os_trace: https://reviews.llvm.org/D35173
110
110
" leak:*_os_trace*\n "
111
+ #endif
112
+ #if SANITIZER_EMSCRIPTEN
113
+ // On Emscripten, LSan checks for leaks during atexit(), which is called before all threads are
114
+ // terminated. Since LockStuffAndStopTheWorld() calls the callback on the main thread, instead
115
+ // of running the callback on the list of suspended threads, LSan is considering allocations
116
+ // within pthread_create as leaky. This supression was added to avoid that.
117
+ " leak:_emscripten_builtin_pthread_create\n "
111
118
#endif
112
119
// TLS leak in some glibc versions, described in
113
120
// https://sourceware.org/bugzilla/show_bug.cgi?id=12650.
You can’t perform that action at this time.
0 commit comments