diff options
author | David Carlier <devnexen@gmail.com> | 2019-08-31 05:52:48 +0100 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-09-25 22:45:44 -0700 |
commit | 4d2856ed5aa9d831c06828d98db88ee91385372c (patch) | |
tree | dc724414b346b8ebc08153f44956ad96e6f25bba /src | |
parent | 322e1e15d5b878f426c4def907a4941968b22912 (diff) | |
download | android-node-v8-4d2856ed5aa9d831c06828d98db88ee91385372c.tar.gz android-node-v8-4d2856ed5aa9d831c06828d98db88ee91385372c.tar.bz2 android-node-v8-4d2856ed5aa9d831c06828d98db88ee91385372c.zip |
src: fix asan build for gcc/clang
Add missing header for LSAN.
PR-URL: https://github.com/nodejs/node/pull/29383
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/node_main_instance.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node_main_instance.cc b/src/node_main_instance.cc index 630933cec8..e41e0c1fb6 100644 --- a/src/node_main_instance.cc +++ b/src/node_main_instance.cc @@ -3,6 +3,9 @@ #include "node_options-inl.h" #include "node_v8_platform-inl.h" #include "util-inl.h" +#if defined(LEAK_SANITIZER) +#include <sanitizer/lsan_interface.h> +#endif namespace node { |