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 <[email protected]>

PR-URL: #32776
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
mmarchini authored and BethGriggs committed Apr 14, 2020
1 parent cba6e5d commit 3e55284
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 3e55284

Please sign in to comment.