aboutsummaryrefslogtreecommitdiff
path: root/lib/tsan/tsan_debugging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tsan/tsan_debugging.cpp')
-rw-r--r--lib/tsan/tsan_debugging.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tsan/tsan_debugging.cpp b/lib/tsan/tsan_debugging.cpp
index 1e61c31c5a..41fa293dba 100644
--- a/lib/tsan/tsan_debugging.cpp
+++ b/lib/tsan/tsan_debugging.cpp
@@ -35,7 +35,9 @@ static const char *ReportTypeDescription(ReportType typ) {
case ReportTypeSignalUnsafe: return "signal-unsafe-call";
case ReportTypeErrnoInSignal: return "errno-in-signal-handler";
case ReportTypeDeadlock: return "lock-order-inversion";
- // No default case so compiler warns us if we miss one
+ case ReportTypeMutexHeldWrongContext:
+ return "mutex-held-in-wrong-context";
+ // No default case so compiler warns us if we miss one
}
UNREACHABLE("missing case");
}