projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1068cf7
)
[NFC][lsan] Make mutex static
author
Vitaly Buka
<vitalybuka@google.com>
Mon, 29 May 2023 04:50:08 +0000
(21:50 -0700)
committer
Vitaly Buka
<vitalybuka@google.com>
Mon, 29 May 2023 04:52:20 +0000
(21:52 -0700)
compiler-rt/lib/lsan/lsan_common.cpp
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/lsan/lsan_common.cpp
b/compiler-rt/lib/lsan/lsan_common.cpp
index
21430e3
..
74cd499
100644
(file)
--- a/
compiler-rt/lib/lsan/lsan_common.cpp
+++ b/
compiler-rt/lib/lsan/lsan_common.cpp
@@
-42,7
+42,7
@@
namespace __lsan {
// This mutex is used to prevent races between DoLeakCheck and IgnoreObject, and
// also to protect the global list of root regions.
-Mutex global_mutex;
+
static
Mutex global_mutex;
Flags lsan_flags;