For TSan "external" races, the bug is in the caller of the API, not the function itself. This patch makes sure that the "SUMMARY:" line of TSan reports print out the name of the responsible caller.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D31689
[tsan] Summary should point to "responsible caller" for external races Needs ReviewPublic Authored by kubamracek on Apr 4 2017, 5:22 PM.
Details
Summary For TSan "external" races, the bug is in the caller of the API, not the function itself. This patch makes sure that the "SUMMARY:" line of TSan reports print out the name of the responsible caller.
Diff Detail
Revision Contents
Diff 94142 lib/tsan/rtl/tsan_report.cc
test/tsan/Darwin/external.cc
|
This conflicts with D31630.
rep->typ == ReportTypeExternalRace can be, but this stack may not be an external access.
Let's first land D31630 and then get back to this.