[PATCH] D20427: [tsan] Don't abort when a deadlock detector finds a mutex cycle longer than 10

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 16:54:55 PDT 2016


kcc accepted this revision.
kcc added a comment.
This revision is now accepted and ready to land.

LGTM with a nit


================
Comment at: lib/sanitizer_common/sanitizer_deadlock_detector1.cc:122
@@ -121,3 +121,3 @@
   DDLogicalThread *lt = cb->lt;
-  uptr path[10];
+  uptr path[20];
   uptr len = dd.findPathToLock(&lt->dd, m->id, path, ARRAY_SIZE(path));
----------------
can you use kMaxLoopSize here?


http://reviews.llvm.org/D20427





More information about the llvm-commits mailing list