summaryrefslogtreecommitdiff
path: root/lib/tsan/rtl/tsan_rtl_report.cc
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-02-06 14:32:16 +0000
committerKostya Serebryany <kcc@google.com>2013-02-06 14:32:16 +0000
commit9dbba15ba91b55f87a25feb284e43ab7a9be31b3 (patch)
tree6616efb2d2351c44b977e11ac07b5a87570c2b3f /lib/tsan/rtl/tsan_rtl_report.cc
parent2f588f9d3417aa107ebbbd8830f97501023d3f40 (diff)
downloadcompiler-rt-9dbba15ba91b55f87a25feb284e43ab7a9be31b3.tar.gz
compiler-rt-9dbba15ba91b55f87a25feb284e43ab7a9be31b3.tar.bz2
compiler-rt-9dbba15ba91b55f87a25feb284e43ab7a9be31b3.tar.xz
[tsan] improve FrameIsInternal
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174506 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/rtl/tsan_rtl_report.cc')
-rw-r--r--lib/tsan/rtl/tsan_rtl_report.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tsan/rtl/tsan_rtl_report.cc b/lib/tsan/rtl/tsan_rtl_report.cc
index 65fe5448..809aac29 100644
--- a/lib/tsan/rtl/tsan_rtl_report.cc
+++ b/lib/tsan/rtl/tsan_rtl_report.cc
@@ -499,7 +499,8 @@ bool IsFiredSuppression(Context *ctx,
bool FrameIsInternal(const ReportStack *frame) {
return frame != 0 && frame->file != 0
&& (internal_strstr(frame->file, "tsan_interceptors.cc") ||
- internal_strstr(frame->file, "sanitizer_common_interceptors.inc"));
+ internal_strstr(frame->file, "sanitizer_common_interceptors.inc") ||
+ internal_strstr(frame->file, "tsan_interface_"));
}
// On programs that use Java we see weird reports like: