diff options
author | Vitaly Buka <vitalybuka@google.com> | 2017-09-22 23:49:49 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2017-09-22 23:49:49 +0000 |
commit | 36e72f5e2464e26fe15deae0641fc44f5af7cca7 (patch) | |
tree | 2706a27d38e3f11100fa8e339f492b007b5629eb /include | |
parent | 67a6c824cb6d0ab2c7b961f8e482bc1aedad3c27 (diff) |
[lsan] Add __lsan_default_options
For consistency with asan, msan, tsan and ubsan.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@314048 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/sanitizer/lsan_interface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sanitizer/lsan_interface.h b/include/sanitizer/lsan_interface.h index 1f2e58909..e3e509ff7 100644 --- a/include/sanitizer/lsan_interface.h +++ b/include/sanitizer/lsan_interface.h @@ -68,6 +68,10 @@ extern "C" { // __attribute__((used)) int __lsan_is_turned_off(); + // This function may be optionally provided by user and should return + // a string containing LSan runtime options. See lsan_flags.inc for details. + const char *__lsan_default_options(); + // This function may be optionally provided by the user and should return // a string containing LSan suppressions. const char *__lsan_default_suppressions(); |