diff options
author | Kostya Serebryany <kcc@google.com> | 2014-01-10 07:58:25 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-01-10 07:58:25 +0000 |
commit | d3f544f296359f67250cb7f13abc103787d8c871 (patch) | |
tree | 9637e64050c74f111eb0ac4ba711d5c10ede6a3b /include | |
parent | ad1e1a2b20d912dfdb770bdc30e3b7bec67a139e (diff) | |
download | compiler-rt-d3f544f296359f67250cb7f13abc103787d8c871.tar.gz |
[lsan] rename __lsan_is_turned_off to LeakSanitizerIsTurnedOffForTheCurrentProcess (leave the old variant for now for compatibility)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@198921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/sanitizer/lsan_interface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sanitizer/lsan_interface.h b/include/sanitizer/lsan_interface.h index cfc3d9c63..4ff0a49ae 100644 --- a/include/sanitizer/lsan_interface.h +++ b/include/sanitizer/lsan_interface.h @@ -45,6 +45,11 @@ extern "C" { // for the program it is linked into (if the return value is non-zero). This // function must be defined as returning a constant value; any behavior beyond // that is unsupported. + int LeakSanitizerIsTurnedOffForTheCurrentProcess(); + + // Same as LeakSanitizerIsTurnedOffForTheCurrentProcess, but deprecated. + // If both functions are defined only + // LeakSanitizerIsTurnedOffForTheCurrentProcess is used. int __lsan_is_turned_off(); // Calling this function makes LSan enter the leak checking phase immediately. |