Skip to content

Commit c8d4360

Browse files
mmarchiniBridgeAR
authored andcommitted
build: use same flags as V8 for ASAN
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]>
1 parent 95cd771 commit c8d4360

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common.gypi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,9 @@
284284
'cflags+': [
285285
'-fno-omit-frame-pointer',
286286
'-fsanitize=address',
287-
'-DLEAK_SANITIZER'
287+
'-fsanitize-address-use-after-scope',
288288
],
289+
'defines': [ 'LEAK_SANITIZER', 'V8_USE_ADDRESS_SANITIZER' ],
289290
'cflags!': [ '-fomit-frame-pointer' ],
290291
'ldflags': [ '-fsanitize=address' ],
291292
}],

0 commit comments

Comments
 (0)