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:
e3bf521
)
tsan: always strip bottom frame in Go reports
author
Dmitry Vyukov
<dvyukov@google.com>
Thu, 6 Jun 2013 13:31:35 +0000
(13:31 +0000)
committer
Dmitry Vyukov
<dvyukov@google.com>
Thu, 6 Jun 2013 13:31:35 +0000
(13:31 +0000)
llvm-svn: 183408
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 f77a7a2efa964f73fa2ccb3da49ad74108006d73..dfc5834c33820ea729d146d924a51714cc9ecaeb 100644
(file)
--- a/
compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc
+++ b/
compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc
@@
-95,8
+95,9
@@
static void StackStripMain(ReportStack *stack) {
DPrintf("Bottom stack frame of stack %zx is missed\n", stack->pc);
}
#else
- if (last && 0 == internal_strcmp(last, "schedunlock"))
- last_frame2->next = 0;
+ // The last frame always point into runtime (gosched0, goexit0, runtime.main).
+ last_frame2->next = 0;
+ (void)last;
#endif
}