| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 628891d commit 62ef1eb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -776,7 +776,13 @@ | |||
| 776 | 776 | action='store_true', | |
| 777 | 777 | dest='v8_enable_object_print', | |
| 778 | 778 | default=True, | |
| 779 | - help='compile V8 with auxiliar functions for native debuggers') | ||
| 779 | + help='compile V8 with auxiliary functions for native debuggers') | ||
| 780 | + | ||
| 781 | + parser.add_argument('--v8-disable-object-print', | ||
| 782 | + action='store_true', | ||
| 783 | + dest='v8_disable_object_print', | ||
| 784 | + default=False, | ||
| 785 | + help='disable the V8 auxiliary functions for native debuggers') | ||
| 780 | 786 | ||
| 781 | 787 | parser.add_argument('--v8-enable-hugepage', | |
| 782 | 788 | action='store_true', | |
@@ -1437,7 +1443,7 @@ def configure_v8(o): | |||
| 1437 | 1443 | o['variables']['v8_no_strict_aliasing'] = 1 # Work around compiler bugs. | |
| 1438 | 1444 | o['variables']['v8_optimized_debug'] = 0 if options.v8_non_optimized_debug else 1 | |
| 1439 | 1445 | o['variables']['dcheck_always_on'] = 1 if options.v8_with_dchecks else 0 | |
| 1440 | - o['variables']['v8_enable_object_print'] = 1 if options.v8_enable_object_print else 0 | ||
| 1446 | + o['variables']['v8_enable_object_print'] = 0 if options.v8_disable_object_print else 1 | ||
| 1441 | 1447 | o['variables']['v8_random_seed'] = 0 # Use a random seed for hash tables. | |
| 1442 | 1448 | o['variables']['v8_promise_internal_field_count'] = 1 # Add internal field to promises for async hooks. | |
| 1443 | 1449 | o['variables']['v8_use_siphash'] = 0 if options.without_siphash else 1 | |
@@ -1460,6 +1466,10 @@ def configure_v8(o): | |||
| 1460 | 1466 | o['variables']['v8_enable_hugepage'] = 1 if options.v8_enable_hugepage else 0 | |
| 1461 | 1467 | if options.v8_enable_short_builtin_calls or o['variables']['target_arch'] == 'x64': | |
| 1462 | 1468 | o['variables']['v8_enable_short_builtin_calls'] = 1 | |
| 1469 | + if options.v8_enable_object_print and options.v8_disable_object_print: | ||
| 1470 | + raise Exception( | ||
| 1471 | + 'Only one of the --v8-enable-object-print or --v8-disable-object-print options ' | ||
| 1472 | + 'can be specified at a time.') | ||
| 1463 | 1473 | ||
| 1464 | 1474 | def configure_openssl(o): | |
| 1465 | 1475 | variables = o['variables'] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments