diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-06-21 12:37:58 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-06-21 12:37:58 +0000 |
commit | bb881c736eff073a84cc640d431ae1e58a5e07d4 (patch) | |
tree | e9db304b2f0cb99f62b725d311af0a470e59595b /include/sanitizer/msan_interface.h | |
parent | 18a918929b0690043964f97936e69c0eae10edd8 (diff) |
[msan] Add keep_going runtime flag.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184542 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/sanitizer/msan_interface.h')
-rw-r--r-- | include/sanitizer/msan_interface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sanitizer/msan_interface.h b/include/sanitizer/msan_interface.h index 9eff7b597..52813a0b6 100644 --- a/include/sanitizer/msan_interface.h +++ b/include/sanitizer/msan_interface.h @@ -63,6 +63,11 @@ extern "C" { The last line will verify that a UMR happened. */ void __msan_set_expect_umr(int expect_umr); + /* Change the value of keep_going flag. Non-zero value means don't terminate + program execution when an error is detected. This will not affect error in + modules that were compiled without the corresponding compiler flag. */ + void __msan_set_keep_going(int keep_going); + /* Print shadow and origin for the memory range to stdout in a human-readable format. */ void __msan_print_shadow(const void *x, size_t size); |