diff options
Diffstat (limited to 'lib/scudo/scudo_platform.h')
-rw-r--r-- | lib/scudo/scudo_platform.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/scudo/scudo_platform.h b/lib/scudo/scudo_platform.h index a915c9843..e1c9c32e9 100644 --- a/lib/scudo/scudo_platform.h +++ b/lib/scudo/scudo_platform.h @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// /// /// Scudo platform specific definitions. +/// TODO(kostyak): add tests for the compile time defines. /// //===----------------------------------------------------------------------===// @@ -45,6 +46,11 @@ # define SCUDO_SHARED_TSD_POOL_SIZE 32U #endif // SCUDO_SHARED_TSD_POOL_SIZE +// The following allows the public interface functions to be disabled. +#ifndef SCUDO_CAN_USE_PUBLIC_INTERFACE +# define SCUDO_CAN_USE_PUBLIC_INTERFACE 1 +#endif + namespace __scudo { #if SANITIZER_CAN_USE_ALLOCATOR64 |