Skip to content

Commit

Permalink
src: fix asan build for gcc/clang
Browse files Browse the repository at this point in the history
Add missing header for LSAN.

PR-URL: #29383
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
devnexen authored and targos committed Oct 1, 2019
1 parent a04fc86 commit 17c3478
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/node_main_instance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit 17c3478

Please sign in to comment.