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:
parent
61e589f8ec
commit
2c3027689a
@ -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' ],
|
||||
}],
|
||||
|
Loading…
Reference in New Issue
Block a user