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 <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>
  • Loading branch information
devnexen authored and Trott committed Sep 26, 2019
1 parent 322e1e1 commit 4d2856e
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 4d2856e

Please sign in to comment.