Adding --target= and --trace_registers flags.

--target=[xex|iso] makes it possible to specify the thing to run from a
flagfile.
This commit is contained in:
Ben Vanik
2013-05-29 21:45:54 -07:00
parent 37530d1438
commit f307bc9eb1
5 changed files with 47 additions and 36 deletions

View File

@@ -13,6 +13,8 @@
// Tracing:
DEFINE_bool(trace_instructions, false,
"Trace all instructions.");
DEFINE_bool(trace_registers, false,
"Trace register values when tracing instructions.");
DEFINE_bool(trace_branches, false,
"Trace all branches.");
DEFINE_bool(trace_user_calls, false,
@@ -34,10 +36,3 @@ DEFINE_bool(dump_module_bitcode, true,
"Writes the module bitcode both before and after optimizations.");
DEFINE_bool(dump_module_map, true,
"Dumps the module symbol database.");
// Optimizations:
DEFINE_bool(optimize_ir_modules, true,
"Whether to run LLVM optimizations on modules.");
DEFINE_bool(optimize_ir_functions, true,
"Whether to run LLVM optimizations on functions.");