[llvm] r309038 - [libFuzzer] don't disable msan for TracePC::CollectFeatures: this started to cause false positives in msan. No tests for libFuzzer+msan yet -- tests will need to wait until we move libFuzzer to compiler-rt

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 25 15:05:31 PDT 2017


Author: kcc
Date: Tue Jul 25 15:05:31 2017
New Revision: 309038

URL: http://llvm.org/viewvc/llvm-project?rev=309038&view=rev
Log:
[libFuzzer] don't disable msan for TracePC::CollectFeatures: this started to cause false positives in msan. No tests for libFuzzer+msan yet -- tests will need to wait until we move libFuzzer to compiler-rt 

Modified:
    llvm/trunk/lib/Fuzzer/FuzzerTracePC.h

Modified: llvm/trunk/lib/Fuzzer/FuzzerTracePC.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/FuzzerTracePC.h?rev=309038&r1=309037&r2=309038&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerTracePC.h (original)
+++ llvm/trunk/lib/Fuzzer/FuzzerTracePC.h Tue Jul 25 15:05:31 2017
@@ -182,7 +182,7 @@ void ForEachNonZeroByte(const uint8_t *B
 }
 
 template <class Callback>  // bool Callback(size_t Feature)
-ATTRIBUTE_NO_SANITIZE_ALL
+ATTRIBUTE_NO_SANITIZE_ADDRESS
 __attribute__((noinline))
 void TracePC::CollectFeatures(Callback HandleFeature) const {
   uint8_t *Counters = this->Counters();




More information about the llvm-commits mailing list