From 68381b63b80eac104c42f506e678e667eac8c9b6 Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Tue, 25 Jul 2017 22:05:31 +0000 Subject: [PATCH] [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 llvm-svn: 309038 --- lib/Fuzzer/FuzzerTracePC.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();