0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 12:10:08 +01:00

build: use same flags as V8 for ASAN

Signed-off-by: Matheus Marchini <mmarchini@netflix.com>

PR-URL: https://github.com/nodejs/node/pull/32776
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Matheus Marchini 2020-04-10 16:07:52 -07:00
parent 61e589f8ec
commit 2c3027689a
No known key found for this signature in database
GPG Key ID: BE516BA4874DB4D9

View File

@ -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' ],
}],