[MSan] Add functions to enable/disable interceptor checks.
authorMatt Morehouse <mascasa@google.com>
Fri, 6 Jul 2018 17:10:51 +0000 (17:10 +0000)
committerMatt Morehouse <mascasa@google.com>
Fri, 6 Jul 2018 17:10:51 +0000 (17:10 +0000)
commit373d6ed7cf24e28de441cfeef4d14c4c0a20c905
treed96f1b54afccd84dcd639978b2417c113e71ddb5
parentbecbb87553123b288a74a695d5355c87b5f49846
[MSan] Add functions to enable/disable interceptor checks.

Summary:
The motivation for this change is to make libFuzzer+MSan possible
without instrumenting libFuzzer.

See https://github.com/google/sanitizers/issues/958.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: llvm-commits, kcc

Differential Revision: https://reviews.llvm.org/D48890

llvm-svn: 336447
compiler-rt/include/sanitizer/msan_interface.h
compiler-rt/lib/msan/msan_interceptors.cc
compiler-rt/lib/msan/msan_interface_internal.h
compiler-rt/test/msan/scoped-interceptors.cc [new file with mode: 0644]