[asan] Fix unlocking order for CommonSanitizerReportMutex and reporting_thread_tid_
llvm-svn: 314007
This commit is contained in:
parent
4a98c85008
commit
03ac15fffb
|
|
@ -205,8 +205,8 @@ class ScopedInErrorReport {
|
|||
Die();
|
||||
}
|
||||
|
||||
atomic_store_relaxed(&reporting_thread_tid_, kUnclaimedTid);
|
||||
CommonSanitizerReportMutex.Unlock();
|
||||
atomic_store_relaxed(&reporting_thread_tid_, kUnclaimedTid);
|
||||
}
|
||||
|
||||
void ReportError(const ErrorDescription &description) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue