| 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 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 "Default seed for initializing random generator " | 528 "Default seed for initializing random generator " |
| 529 "(0, the default, means to use system random).") | 529 "(0, the default, means to use system random).") |
| 530 | 530 |
| 531 // objects.cc | 531 // objects.cc |
| 532 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") | 532 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") |
| 533 | 533 |
| 534 // parser.cc | 534 // parser.cc |
| 535 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") | 535 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") |
| 536 DEFINE_bool(trace_parse, false, "trace parsing and preparsing") | 536 DEFINE_bool(trace_parse, false, "trace parsing and preparsing") |
| 537 | 537 |
| 538 // simulator-arm.cc and simulator-mips.cc | 538 // simulator-arm.cc, simulator-a64.cc and simulator-mips.cc |
| 539 DEFINE_bool(trace_sim, false, "Trace simulator execution") | 539 DEFINE_bool(trace_sim, false, "Trace simulator execution") |
| 540 DEFINE_bool(check_icache, false, | 540 DEFINE_bool(check_icache, false, |
| 541 "Check icache flushes in ARM and MIPS simulator") | 541 "Check icache flushes in ARM and MIPS simulator") |
| 542 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") | 542 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") |
| 543 #ifdef V8_TARGET_ARCH_A64 |
| 544 DEFINE_int(sim_stack_alignment, 16, |
| 545 "Stack alignment in bytes in simulator. This must be a power of two " |
| 546 "and it must be at least 16. 16 is default.") |
| 547 #else |
| 543 DEFINE_int(sim_stack_alignment, 8, | 548 DEFINE_int(sim_stack_alignment, 8, |
| 544 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") | 549 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") |
| 550 #endif |
| 551 DEFINE_int(sim_stack_size, 2 * MB / KB, |
| 552 "Stack size of the A64 simulator in kBytes (default is 2 MB)") |
| 553 DEFINE_bool(log_regs_modified, true, |
| 554 "When logging register values, only print modified registers.") |
| 555 DEFINE_bool(log_colour, true, |
| 556 "When logging, try to use coloured output.") |
| 557 DEFINE_bool(ignore_asm_unimplemented_break, false, |
| 558 "Don't break for ASM_UNIMPLEMENTED_BREAK macros.") |
| 559 DEFINE_bool(trace_sim_messages, false, |
| 560 "Trace simulator debug messages. Implied by --trace-sim.") |
| 545 | 561 |
| 546 // isolate.cc | 562 // isolate.cc |
| 547 DEFINE_bool(abort_on_uncaught_exception, false, | 563 DEFINE_bool(abort_on_uncaught_exception, false, |
| 548 "abort program (dump core) when an uncaught exception is thrown") | 564 "abort program (dump core) when an uncaught exception is thrown") |
| 549 DEFINE_bool(trace_exception, false, | 565 DEFINE_bool(trace_exception, false, |
| 550 "print stack trace when throwing exceptions") | 566 "print stack trace when throwing exceptions") |
| 551 DEFINE_bool(preallocate_message_memory, false, | 567 DEFINE_bool(preallocate_message_memory, false, |
| 552 "preallocate some memory to build stack traces.") | 568 "preallocate some memory to build stack traces.") |
| 553 DEFINE_bool(randomize_hashes, | 569 DEFINE_bool(randomize_hashes, |
| 554 true, | 570 true, |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 DEFINE_bool(log_regexp, false, "Log regular expression execution.") | 752 DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
| 737 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") | 753 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
| 738 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") | 754 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") |
| 739 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", | 755 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", |
| 740 "Specify the name of the file for fake gc mmap used in ll_prof") | 756 "Specify the name of the file for fake gc mmap used in ll_prof") |
| 741 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") | 757 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") |
| 742 DEFINE_bool(log_timer_events, false, | 758 DEFINE_bool(log_timer_events, false, |
| 743 "Time events including external callbacks.") | 759 "Time events including external callbacks.") |
| 744 DEFINE_implication(log_timer_events, log_internal_timer_events) | 760 DEFINE_implication(log_timer_events, log_internal_timer_events) |
| 745 DEFINE_implication(log_internal_timer_events, prof) | 761 DEFINE_implication(log_internal_timer_events, prof) |
| 762 DEFINE_bool(log_instruction_stats, false, "Log AArch64 instruction statistics.") |
| 763 DEFINE_string(log_instruction_file, "a64_inst.csv", |
| 764 "AArch64 instruction statistics log file.") |
| 765 DEFINE_int(log_instruction_period, 1 << 22, |
| 766 "AArch64 instruction statistics logging period.") |
| 746 | 767 |
| 747 // | 768 // |
| 748 // Disassembler only flags | 769 // Disassembler only flags |
| 749 // | 770 // |
| 750 #undef FLAG | 771 #undef FLAG |
| 751 #ifdef ENABLE_DISASSEMBLER | 772 #ifdef ENABLE_DISASSEMBLER |
| 752 #define FLAG FLAG_FULL | 773 #define FLAG FLAG_FULL |
| 753 #else | 774 #else |
| 754 #define FLAG FLAG_READONLY | 775 #define FLAG FLAG_READONLY |
| 755 #endif | 776 #endif |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 797 #undef DEFINE_bool | 818 #undef DEFINE_bool |
| 798 #undef DEFINE_int | 819 #undef DEFINE_int |
| 799 #undef DEFINE_string | 820 #undef DEFINE_string |
| 800 #undef DEFINE_implication | 821 #undef DEFINE_implication |
| 801 | 822 |
| 802 #undef FLAG_MODE_DECLARE | 823 #undef FLAG_MODE_DECLARE |
| 803 #undef FLAG_MODE_DEFINE | 824 #undef FLAG_MODE_DEFINE |
| 804 #undef FLAG_MODE_DEFINE_DEFAULTS | 825 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 805 #undef FLAG_MODE_META | 826 #undef FLAG_MODE_META |
| 806 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 827 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |