projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd5ebcd
)
tsan: add 'free' to java nonsense reports
author
Dmitry Vyukov
<dvyukov@google.com>
Thu, 6 Dec 2012 12:42:53 +0000
(12:42 +0000)
committer
Dmitry Vyukov
<dvyukov@google.com>
Thu, 6 Dec 2012 12:42:53 +0000
(12:42 +0000)
llvm-svn: 169494
compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc
b/compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc
index
c953091
..
1ab79ea
100644
(file)
--- a/
compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc
+++ b/
compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc
@@
-461,6
+461,7
@@
static bool IsJavaNonsense(const ReportDesc *rep) {
|| internal_strcmp(frame->func, "memcpy") == 0
|| internal_strcmp(frame->func, "strcmp") == 0
|| internal_strcmp(frame->func, "strncpy") == 0
+ || internal_strcmp(frame->func, "free") == 0
|| internal_strcmp(frame->func, "pthread_mutex_lock") == 0)) {
frame = frame->next;
if (frame == 0