From 8330752796bc21460dcdbacaa4a7dcd7fa367b3f 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309038 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(); -- 2.50.1