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 BridgeAR committed Apr 28, 2020
1 parent 95cd771 commit c8d4360
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 c8d4360

Please sign in to comment.