[PATCH] D37608: [lsan] Deadly signal handler for lsan

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 18:08:23 PDT 2017


eugenis added inline comments.


================
Comment at: compiler-rt/lib/lsan/lsan.cc:77
+  StartReportDeadlySignal();
+  SpinMutexLock l(&CommonSanitizerReportMutex);
+  SignalContext sig(siginfo, context);
----------------
What if we are already holding this lock?


https://reviews.llvm.org/D37608





More information about the llvm-commits mailing list