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:
ffed8fe
)
tsan: fix Go build
author
Dmitry Vyukov
<dvyukov@google.com>
Thu, 7 Feb 2013 15:26:55 +0000
(15:26 +0000)
committer
Dmitry Vyukov
<dvyukov@google.com>
Thu, 7 Feb 2013 15:26:55 +0000
(15:26 +0000)
llvm-svn: 174622
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
d909942
..
d79f46b
100644
(file)
--- a/
compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc
+++ b/
compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc
@@
-512,6
+512,7
@@
bool FrameIsInternal(const ReportStack *frame) {
// #0 strncpy tsan_interceptors.cc:501 (foo+0x00000d8e0919)
// #1 <null> <null>:0 (0x7f7ad9b42707)
static bool IsJavaNonsense(const ReportDesc *rep) {
+#ifndef TSAN_GO
for (uptr i = 0; i < rep->mops.Size(); i++) {
ReportMop *mop = rep->mops[i];
ReportStack *frame = mop->stack;
@@
-530,6
+531,7
@@
static bool IsJavaNonsense(const ReportDesc *rep) {
return true;
}
}
+#endif
return false;
}