forked from OSchip/llvm-project
parent
462516b737
commit
e679798315
|
@ -521,14 +521,17 @@ static bool IsJavaNonsense(const ReportDesc *rep) {
|
||||||
&& frame->module == 0)) {
|
&& frame->module == 0)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
frame = SkipTsanInternalFrames(frame);
|
if (FrameIsInternal(frame)) {
|
||||||
if (frame->next == 0
|
frame = frame->next;
|
||||||
|| (frame->func == 0 && frame->file == 0 && frame->line == 0
|
if (frame == 0
|
||||||
|
|| (frame->func == 0 && frame->file == 0 && frame->line == 0
|
||||||
&& frame->module == 0)) {
|
&& frame->module == 0)) {
|
||||||
CHECK(frame);
|
if (frame) {
|
||||||
FiredSuppression supp = {rep->typ, frame->pc};
|
FiredSuppression supp = {rep->typ, frame->pc};
|
||||||
CTX()->fired_suppressions.PushBack(supp);
|
CTX()->fired_suppressions.PushBack(supp);
|
||||||
return true;
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue