[PATCH] D31553: [tsan] Ignore memory accesses for libignored modules for "external" races

Dmitry Vyukov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 2 01:57:44 PDT 2017


dvyukov added a comment.

Wait, the external API was meant specifically to be used from non-instrumented libraries. Quoting you in https://reviews.llvm.org/D28836:

> It might not be feasible/easy to recompile the library with TSan instrumentation... The idea of this patch is to allow a non-instrumented library to call into TSan runtime.

With this change it all become pointless. We annotate non-instrumented libraries and then ignore that. What am I missing?


Repository:
  rL LLVM

https://reviews.llvm.org/D31553





More information about the llvm-commits mailing list