From: Kostya Serebryany Date: Tue, 25 Jul 2017 22:05:31 +0000 (+0000) Subject: [libFuzzer] don't disable msan for TracePC::CollectFeatures: this started to cause... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8330752796bc21460dcdbacaa4a7dcd7fa367b3f;p=llvm [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309038 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Fuzzer/FuzzerTracePC.h b/lib/Fuzzer/FuzzerTracePC.h index 26e1d09e482..fac2b2b9cc8 100644 --- a/lib/Fuzzer/FuzzerTracePC.h +++ b/lib/Fuzzer/FuzzerTracePC.h @@ -182,7 +182,7 @@ void ForEachNonZeroByte(const uint8_t *Begin, const uint8_t *End, } template // 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();