forked from OSchip/llvm-project
tsan: rename deadlock detector Mutex to UserMutex
It conflicts with sanitizer_common Mutex. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D107053
This commit is contained in:
parent
8bf0a40608
commit
b8f4232823
|
@ -19,7 +19,7 @@ namespace __dsan {
|
|||
|
||||
typedef DDFlags Flags;
|
||||
|
||||
struct Mutex {
|
||||
struct UserMutex {
|
||||
DDMutex dd;
|
||||
};
|
||||
|
||||
|
@ -37,7 +37,7 @@ struct Callback final : public DDCallback {
|
|||
u32 Unwind() override;
|
||||
};
|
||||
|
||||
typedef AddrHashMap<Mutex, 31051> MutexHashMap;
|
||||
typedef AddrHashMap<UserMutex, 31051> MutexHashMap;
|
||||
|
||||
struct Context {
|
||||
DDetector *dd;
|
||||
|
|
Loading…
Reference in New Issue