OSDN Git Service

[libFuzzer] use the new chainable malloc hooks instead of the old un-chainable ones...
authorKostya Serebryany <kcc@google.com>
Thu, 16 Jun 2016 20:17:41 +0000 (20:17 +0000)
committerKostya Serebryany <kcc@google.com>
Thu, 16 Jun 2016 20:17:41 +0000 (20:17 +0000)
commitc0e47a82c10326d2970f4cfc5365731c6d9ae852
tree3218be09b5166b252598b5267a84d860dff2a35d
parent47367896f12fdc12909c01d86f64812260f1bfc1
[libFuzzer] use the new chainable malloc hooks instead of the old un-chainable ones, use atomic for malloc/free counters instead of a thread local counter in the main thread. This should make on-the-spot leak detection in libFuzzer more reliable

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272948 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Fuzzer/FuzzerExtFunctions.def
lib/Fuzzer/FuzzerLoop.cpp
lib/Fuzzer/test/fuzzer-threaded.test