[PATCH] D28836: [tsan] Provide API for libraries for race detection on custom objects

Dmitry Vyukov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 07:35:07 PST 2017


dvyukov added a comment.

> void  __tsan_external_read(void *addr, void *caller_pc, void *tag);
>  void  __tsan_external_write(void *addr, void *caller_pc, void *tag);

Are they meant to be called from instrumented code or from non-instrumented code?


Repository:
  rL LLVM

https://reviews.llvm.org/D28836





More information about the llvm-commits mailing list