forked from OSchip/llvm-project
tsan: ignore interceptors from symbolizer
ocassionally we see races coming from symbolizer interceptors (e.g. memcmp) reproducible only only on large complex programs llvm-svn: 206034
This commit is contained in:
parent
4b43e91abc
commit
fa1d56c31f
|
@ -26,12 +26,14 @@ void EnterSymbolizer() {
|
|||
ThreadState *thr = cur_thread();
|
||||
CHECK(!thr->in_symbolizer);
|
||||
thr->in_symbolizer = true;
|
||||
thr->ignore_interceptors++;
|
||||
}
|
||||
|
||||
void ExitSymbolizer() {
|
||||
ThreadState *thr = cur_thread();
|
||||
CHECK(thr->in_symbolizer);
|
||||
thr->in_symbolizer = false;
|
||||
thr->ignore_interceptors--;
|
||||
}
|
||||
|
||||
ReportStack *NewReportStackEntry(uptr addr) {
|
||||
|
|
Loading…
Reference in New Issue