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:
8bf0a40
)
tsan: rename deadlock detector Mutex to UserMutex
author
Dmitry Vyukov
<dvyukov@google.com>
Thu, 29 Jul 2021 10:01:52 +0000
(12:01 +0200)
committer
Dmitry Vyukov
<dvyukov@google.com>
Thu, 29 Jul 2021 10:38:14 +0000
(12:38 +0200)
It conflicts with sanitizer_common Mutex.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D107053
compiler-rt/lib/tsan/dd/dd_rtl.h
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/tsan/dd/dd_rtl.h
b/compiler-rt/lib/tsan/dd/dd_rtl.h
index
b1e19be
..
5871a71
100644
(file)
--- a/
compiler-rt/lib/tsan/dd/dd_rtl.h
+++ b/
compiler-rt/lib/tsan/dd/dd_rtl.h
@@
-19,7
+19,7
@@
namespace __dsan {
typedef DDFlags Flags;
-struct Mutex {
+struct
User
Mutex {
DDMutex dd;
};
@@
-37,7
+37,7
@@
struct Callback final : public DDCallback {
u32 Unwind() override;
};
-typedef AddrHashMap<Mutex, 31051> MutexHashMap;
+typedef AddrHashMap<
User
Mutex, 31051> MutexHashMap;
struct Context {
DDetector *dd;