[PATCH] D20402: Try to fix libFuzzer running on Mac OSX

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 18:32:21 PDT 2016


kcc added a comment.

This is very, very sad. 
I intentionally made this thread local so that we don't use atomics in a very hot place (and malloc is often a very hot place). 
Besides, I am only collecting counts from the main thread. 
Need to find another solution, e.g. to not touch AllocTracer before we called Start() on it.


http://reviews.llvm.org/D20402





More information about the llvm-commits mailing list