diff options
| author | 2018-05-09 08:22:59 +0000 | |
|---|---|---|
| committer | 2018-05-09 08:22:59 +0000 | |
| commit | 2cd2eea6d14acdc4a9b62df7e9fcffd997962da3 (patch) | |
| tree | fbdd7c7db6757872bf0a80229d6cb76207de9a03 /compiler/driver/compiler_options_map-inl.h | |
| parent | 4972754f2327dc9c443f2c0c70e5a6528973c435 (diff) | |
| parent | 2da52b084b940a5330aa985b687c852495bc38ff (diff) | |
Merge "ART: Add --dump-pass-timings compiler option."
Diffstat (limited to 'compiler/driver/compiler_options_map-inl.h')
| -rw-r--r-- | compiler/driver/compiler_options_map-inl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options_map-inl.h b/compiler/driver/compiler_options_map-inl.h index 3b18db09fc..32fc887b8e 100644 --- a/compiler/driver/compiler_options_map-inl.h +++ b/compiler/driver/compiler_options_map-inl.h @@ -85,6 +85,10 @@ inline bool ReadCompilerOptions(Base& map, CompilerOptions* options, std::string options->dump_timings_ = true; } + if (map.Exists(Base::DumpPassTimings)) { + options->dump_pass_timings_ = true; + } + if (map.Exists(Base::DumpStats)) { options->dump_stats_ = true; } @@ -146,6 +150,9 @@ inline void AddCompilerOptionsArgumentParserOptions(Builder& b) { .Define({"--dump-timings"}) .IntoKey(Map::DumpTimings) + .Define({"--dump-pass-timings"}) + .IntoKey(Map::DumpPassTimings) + .Define({"--dump-stats"}) .IntoKey(Map::DumpStats) |