Skip to content

Commit e4b02c6

Browse files
committed
[NFC][lsan] Make mutex static
1 parent 1068cf7 commit e4b02c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/lsan/lsan_common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace __lsan {
4242

4343
// This mutex is used to prevent races between DoLeakCheck and IgnoreObject, and
4444
// also to protect the global list of root regions.
45-
Mutex global_mutex;
45+
static Mutex global_mutex;
4646

4747
Flags lsan_flags;
4848

0 commit comments

Comments
 (0)