-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build with `npm i --asan=true`. This will use a build that links in asan at runtime. The odd split in .gyp files exists because we want to compile nanomsg with asan instrumentation, but when we link our node_namomsg.node shared object we want to remind gyp to link asan's runtime library. This can likely also be done for Linux, but I haven't tested. Also, we segfault off the bat with this. I don't have time to look into it, but at least it builds correctly.
- Loading branch information
1 parent
cfa6ca7
commit ae93130
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -420,3 +420,7 @@ WIP | |
## license | ||
|
||
MIT | ||
|
||
## memory leak hunting | ||
`npm i --asan=true` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters