OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") | 439 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") |
440 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") | 440 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") |
441 #ifdef WIN32 | 441 #ifdef WIN32 |
442 DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes", | 442 DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes", |
443 "file in which to testing_serialize heap") | 443 "file in which to testing_serialize heap") |
444 #else | 444 #else |
445 DEFINE_string(testing_serialization_file, "/tmp/serdes", | 445 DEFINE_string(testing_serialization_file, "/tmp/serdes", |
446 "file in which to serialize heap") | 446 "file in which to serialize heap") |
447 #endif | 447 #endif |
448 | 448 |
| 449 // mksnapshot.cc |
| 450 DEFINE_string(extra_code, NULL, "A filename with extra code to be included in" |
| 451 " the snapshot (mksnapshot only)") |
| 452 |
449 // | 453 // |
450 // Dev shell flags | 454 // Dev shell flags |
451 // | 455 // |
452 | 456 |
453 DEFINE_bool(help, false, "Print usage message, including flags, on console") | 457 DEFINE_bool(help, false, "Print usage message, including flags, on console") |
454 DEFINE_bool(dump_counters, false, "Dump counters on exit") | 458 DEFINE_bool(dump_counters, false, "Dump counters on exit") |
455 | 459 |
456 #ifdef ENABLE_DEBUGGER_SUPPORT | 460 #ifdef ENABLE_DEBUGGER_SUPPORT |
457 DEFINE_bool(debugger, false, "Enable JavaScript debugger") | 461 DEFINE_bool(debugger, false, "Enable JavaScript debugger") |
458 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " | 462 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 "Used with --prof, only does sampling and logging" | 602 "Used with --prof, only does sampling and logging" |
599 " when profiler is active (implies --noprof_auto).") | 603 " when profiler is active (implies --noprof_auto).") |
600 DEFINE_bool(prof_browser_mode, true, | 604 DEFINE_bool(prof_browser_mode, true, |
601 "Used with --prof, turns on browser-compatible mode for profiling.") | 605 "Used with --prof, turns on browser-compatible mode for profiling.") |
602 DEFINE_bool(log_regexp, false, "Log regular expression execution.") | 606 DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
603 DEFINE_bool(sliding_state_window, false, | 607 DEFINE_bool(sliding_state_window, false, |
604 "Update sliding state window counters.") | 608 "Update sliding state window counters.") |
605 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") | 609 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
606 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") | 610 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") |
607 | 611 |
| 612 |
608 // | 613 // |
609 // Disassembler only flags | 614 // Disassembler only flags |
610 // | 615 // |
611 #undef FLAG | 616 #undef FLAG |
612 #ifdef ENABLE_DISASSEMBLER | 617 #ifdef ENABLE_DISASSEMBLER |
613 #define FLAG FLAG_FULL | 618 #define FLAG FLAG_FULL |
614 #else | 619 #else |
615 #define FLAG FLAG_READONLY | 620 #define FLAG FLAG_READONLY |
616 #endif | 621 #endif |
617 | 622 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 #undef DEFINE_bool | 663 #undef DEFINE_bool |
659 #undef DEFINE_int | 664 #undef DEFINE_int |
660 #undef DEFINE_string | 665 #undef DEFINE_string |
661 #undef DEFINE_implication | 666 #undef DEFINE_implication |
662 | 667 |
663 #undef FLAG_MODE_DECLARE | 668 #undef FLAG_MODE_DECLARE |
664 #undef FLAG_MODE_DEFINE | 669 #undef FLAG_MODE_DEFINE |
665 #undef FLAG_MODE_DEFINE_DEFAULTS | 670 #undef FLAG_MODE_DEFINE_DEFAULTS |
666 #undef FLAG_MODE_META | 671 #undef FLAG_MODE_META |
667 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 672 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |