OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef RUNTIME_VM_FLAG_LIST_H_ | 5 #ifndef RUNTIME_VM_FLAG_LIST_H_ |
6 #define RUNTIME_VM_FLAG_LIST_H_ | 6 #define RUNTIME_VM_FLAG_LIST_H_ |
7 | 7 |
8 // Don't use USING_DBC outside of this file. | 8 // Don't use USING_DBC outside of this file. |
9 #if defined(TARGET_ARCH_DBC) | 9 #if defined(TARGET_ARCH_DBC) |
10 #define USING_DBC true | 10 #define USING_DBC true |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 "Pause isolates on unhandled exceptions.") \ | 131 "Pause isolates on unhandled exceptions.") \ |
132 P(polymorphic_with_deopt, bool, true, \ | 132 P(polymorphic_with_deopt, bool, true, \ |
133 "Polymorphic calls with deoptimization / megamorphic call") \ | 133 "Polymorphic calls with deoptimization / megamorphic call") \ |
134 P(precompiled_mode, bool, false, "Precompilation compiler mode") \ | 134 P(precompiled_mode, bool, false, "Precompilation compiler mode") \ |
135 C(precompiled_runtime, true, false, bool, false, "Precompiled runtime mode") \ | 135 C(precompiled_runtime, true, false, bool, false, "Precompiled runtime mode") \ |
136 P(print_snapshot_sizes, bool, false, "Print sizes of generated snapshots.") \ | 136 P(print_snapshot_sizes, bool, false, "Print sizes of generated snapshots.") \ |
137 P(print_benchmarking_metrics, bool, false, \ | 137 P(print_benchmarking_metrics, bool, false, \ |
138 "Print additional memory and latency metrics for benchmarking.") \ | 138 "Print additional memory and latency metrics for benchmarking.") \ |
139 R(print_ssa_liveranges, false, bool, false, \ | 139 R(print_ssa_liveranges, false, bool, false, \ |
140 "Print live ranges after allocation.") \ | 140 "Print live ranges after allocation.") \ |
| 141 R(print_stacktrace_at_api_error, false, bool, false, \ |
| 142 "Attempt to print a native stack trace when an API error is created.") \ |
141 C(print_stop_message, false, false, bool, false, "Print stop message.") \ | 143 C(print_stop_message, false, false, bool, false, "Print stop message.") \ |
142 D(print_variable_descriptors, bool, false, \ | 144 D(print_variable_descriptors, bool, false, \ |
143 "Print variable descriptors in disassembly.") \ | 145 "Print variable descriptors in disassembly.") \ |
144 R(profiler, false, bool, !USING_DBC && !USING_FUCHSIA, \ | 146 R(profiler, false, bool, !USING_DBC && !USING_FUCHSIA, \ |
145 "Enable the profiler.") \ | 147 "Enable the profiler.") \ |
146 P(reorder_basic_blocks, bool, true, "Reorder basic blocks") \ | 148 P(reorder_basic_blocks, bool, true, "Reorder basic blocks") \ |
147 C(causal_async_stacks, false, false, bool, true, "Improved async stacks") \ | 149 C(causal_async_stacks, false, false, bool, true, "Improved async stacks") \ |
148 C(stress_async_stacks, false, false, bool, false, \ | 150 C(stress_async_stacks, false, false, bool, false, \ |
149 "Stress test async stack traces") \ | 151 "Stress test async stack traces") \ |
150 C(async_debugger, false, false, bool, false, \ | 152 C(async_debugger, false, false, bool, false, \ |
(...skipping 27 matching lines...) Expand all Loading... |
178 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ | 180 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ |
179 R(verify_after_gc, false, bool, false, \ | 181 R(verify_after_gc, false, bool, false, \ |
180 "Enables heap verification after GC.") \ | 182 "Enables heap verification after GC.") \ |
181 R(verify_before_gc, false, bool, false, \ | 183 R(verify_before_gc, false, bool, false, \ |
182 "Enables heap verification before GC.") \ | 184 "Enables heap verification before GC.") \ |
183 D(verify_gc_contains, bool, false, \ | 185 D(verify_gc_contains, bool, false, \ |
184 "Enables verification of address contains during GC.") \ | 186 "Enables verification of address contains during GC.") \ |
185 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") | 187 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") |
186 | 188 |
187 #endif // RUNTIME_VM_FLAG_LIST_H_ | 189 #endif // RUNTIME_VM_FLAG_LIST_H_ |
OLD | NEW |