Skip to content

Commit

Permalink
build: use same flags as V8 for ASAN
Browse files Browse the repository at this point in the history
Signed-off-by: Matheus Marchini <mmarchini@netflix.com>

PR-URL: #32776
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
mmarchini committed Apr 13, 2020
1 parent 61e589f commit 2c30276
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,9 @@
'cflags+': [
'-fno-omit-frame-pointer',
'-fsanitize=address',
'-DLEAK_SANITIZER'
'-fsanitize-address-use-after-scope',
],
'defines': [ 'LEAK_SANITIZER', 'V8_USE_ADDRESS_SANITIZER' ],
'cflags!': [ '-fomit-frame-pointer' ],
'ldflags': [ '-fsanitize=address' ],
}],
Expand Down

0 comments on commit 2c30276

Please sign in to comment.