summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2017-07-25 22:05:31 +0000
committerKostya Serebryany <kcc@google.com>2017-07-25 22:05:31 +0000
commit6eab1a8ee6ad0e9c7203d453349a928a26af2d8d (patch)
tree3cbe5d64db63a74224f1361c2597000ebd82fbca
parenta1ddfbb119737c3533e55ca67dae9101536f272c (diff)
downloadbcm5719-llvm-6eab1a8ee6ad0e9c7203d453349a928a26af2d8d.tar.gz
bcm5719-llvm-6eab1a8ee6ad0e9c7203d453349a928a26af2d8d.zip
[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
-rw-r--r--llvm/lib/Fuzzer/FuzzerTracePC.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerTracePC.h b/llvm/lib/Fuzzer/FuzzerTracePC.h
index 26e1d09e482..fac2b2b9cc8 100644
--- a/llvm/lib/Fuzzer/FuzzerTracePC.h
+++ b/llvm/lib/Fuzzer/FuzzerTracePC.h
@@ -182,7 +182,7 @@ void ForEachNonZeroByte(const uint8_t *Begin, const uint8_t *End,
}
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();
OpenPOWER on IntegriCloud