[PATCH] D31689: [tsan] Summary should point to "responsible caller" for external races

Kuba (Brecka) Mracek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 17:22:23 PDT 2017


kubamracek created this revision.
kubamracek added a project: Sanitizers.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D31689

Files:
  lib/tsan/rtl/tsan_report.cc
  test/tsan/Darwin/external.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31689.94142.patch
Type: text/x-patch
Size: 3666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170405/cc210817/attachment.bin>


More information about the llvm-commits mailing list