summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2017-02-03 22:51:38 +0000
committerKostya Serebryany <kcc@google.com>2017-02-03 22:51:38 +0000
commit9f8e47b28ce901d3e6b091b171c853d2ada0d1b0 (patch)
treefe7dcd50f4def89a6b74fda5db2f0c9a1b2502a2
parent2b0745531590299ad11b449e02e6abc878505b7a (diff)
downloadbcm5719-llvm-9f8e47b28ce901d3e6b091b171c853d2ada0d1b0.tar.gz
bcm5719-llvm-9f8e47b28ce901d3e6b091b171c853d2ada0d1b0.zip
[libFuzzer] properly hide the memcmp interceptor from msan
llvm-svn: 294061
-rw-r--r--llvm/lib/Fuzzer/FuzzerTracePC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerTracePC.cpp b/llvm/lib/Fuzzer/FuzzerTracePC.cpp
index d841a285f1c..ff1d494bafe 100644
--- a/llvm/lib/Fuzzer/FuzzerTracePC.cpp
+++ b/llvm/lib/Fuzzer/FuzzerTracePC.cpp
@@ -240,7 +240,7 @@ void TracePC::DumpCoverage() {
// For cmp instructions the interesting value is a XOR of the parameters.
// The interesting value is mixed up with the PC and is then added to the map.
-ATTRIBUTE_NO_SANITIZE_ADDRESS
+ATTRIBUTE_NO_SANITIZE_ALL
void TracePC::AddValueForMemcmp(void *caller_pc, const void *s1, const void *s2,
size_t n, bool StopAtZero) {
if (!n) return;
OpenPOWER on IntegriCloud