mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
build: derive V8_LOGGING_LEVEL from dcheck_always_on
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com> PR-URL: https://github.com/nodejs/node/pull/65744 Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7705483 Reviewed-By: Richard Lau <richard.lau@ibm.com>
This commit is contained in:
1 parent
c2ddf939c0
commit
2dd7e7b772
1 file changed
+13
-1
@@ -461,9 +461,21 @@
|
||||
'defines': ['V8_ENABLE_SEEDED_ARRAY_INDEX_HASH',],
|
||||
}],
|
||||
['dcheck_always_on!=0', {
|
||||
'defines': ['DEBUG',],
|
||||
'defines': [
|
||||
'DEBUG',
|
||||
'V8_LOGGING_LEVEL=2', # Print file, line, message on fatal checks
|
||||
],
|
||||
}, {
|
||||
'defines': ['NDEBUG',],
|
||||
'configurations': {
|
||||
'Debug': {
|
||||
'defines': ['V8_LOGGING_LEVEL=2',],
|
||||
},
|
||||
'Release': {
|
||||
# Only log message (without file or line) on fatal checks
|
||||
'defines': ['V8_LOGGING_LEVEL=1',],
|
||||
},
|
||||
},
|
||||
}],
|
||||
['v8_enable_verify_csa==1', {
|
||||
'defines': ['ENABLE_VERIFY_CSA',],
|
||||
|
||||
Reference in new issue
Block a user