[PATCH] D21044: [tsan]: rename RunningOnValgrind to __tsan_RunningOnValgrind

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 00:44:08 PDT 2016


dvyukov added a comment.

We still use it and it must be named RunningOnValgrind to override definitions in projects. Other projects are meant to disable their definitions when building for tsan.

What do you use from gperftools? tcmalloc/heapchecker/heapprofiler are not compatible with sanitizers. What's left is cpuprofiler, but it does not use RunningOnValgrind as far as I see.


http://reviews.llvm.org/D21044





More information about the llvm-commits mailing list