summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.cc
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2017-05-02 12:46:07 +0100
committer Roland Levillain <rpl@google.com> 2017-05-02 14:42:04 +0100
commitf5bea5e9acd03a218e43ac460743210de202e8d7 (patch)
tree87c43b700883ab1404d3cf20fd44cc267d38388a /compiler/driver/compiler_options.cc
parentdf48db90d5709542f2531fd1df310e81814ab788 (diff)
Document some dex2oat command line options.
Also process option `--dump-cfg-append` correctly. Test: m build-art-host Change-Id: I062154c267c1a6eec22af42d985f19a555bdf4ca
Diffstat (limited to 'compiler/driver/compiler_options.cc')
-rw-r--r--compiler/driver/compiler_options.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_options.cc b/compiler/driver/compiler_options.cc
index a0c0a2acf6..a4e2083fe4 100644
--- a/compiler/driver/compiler_options.cc
+++ b/compiler/driver/compiler_options.cc
@@ -200,7 +200,7 @@ bool CompilerOptions::ParseCompilerOption(const StringPiece& option, UsageFn Usa
ParseDumpInitFailures(option, Usage);
} else if (option.starts_with("--dump-cfg=")) {
dump_cfg_file_name_ = option.substr(strlen("--dump-cfg=")).data();
- } else if (option.starts_with("--dump-cfg-append")) {
+ } else if (option == "--dump-cfg-append") {
dump_cfg_append_ = true;
} else if (option.starts_with("--register-allocation-strategy=")) {
ParseRegisterAllocationStrategy(option, Usage);