summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2016-03-16 14:29:17 -0700
committer Mathieu Chartier <mathieuc@google.com> 2016-03-16 14:51:22 -0700
commit1cc7e8b024ad800320ea8d94a10ee9965904fe93 (patch)
treea26fd52af962949685da6a359dc6dc36df9aa4d5
parent6f1b7ecf61a7be88bcbb259726e99a78a7235d15 (diff)
Add verify-art-runtime usage to dex2oat
Bug: 27688793 (cherry picked from commit c6068709a482065d6f5426640f1c9316797508e3) Change-Id: Idcf6b8023a15c816168ce42456d2bd7b463d0951
-rw-r--r--dex2oat/dex2oat.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index a5d0c2797e..298101115d 100644
--- a/dex2oat/dex2oat.cc
+++ b/dex2oat/dex2oat.cc
@@ -255,6 +255,7 @@ NO_RETURN static void Usage(const char* fmt, ...) {
UsageError("");
UsageError(" --compiler-filter="
"(verify-none"
+ "|verify-at-runtime"
"|interpret-only"
"|space"
"|balanced"
@@ -287,8 +288,8 @@ NO_RETURN static void Usage(const char* fmt, ...) {
UsageError("");
UsageError(" --num-dex-methods=<method-count>: threshold size for a small dex file for");
UsageError(" compiler filter tuning. If the input has fewer than this many methods");
- UsageError(" and the filter is not interpret-only or verify-none, overrides the");
- UsageError(" filter to use speed");
+ UsageError(" and the filter is not interpret-only or verify-none or verify-at-runtime, ");
+ UsageError(" overrides the filter to use speed");
UsageError(" Example: --num-dex-method=%d", CompilerOptions::kDefaultNumDexMethodsThreshold);
UsageError(" Default: %d", CompilerOptions::kDefaultNumDexMethodsThreshold);
UsageError("");
@@ -1449,8 +1450,8 @@ class Dex2Oat FINAL {
}
/*
- * If we're not in interpret-only or verify-none mode, go ahead and compile small applications.
- * Don't bother to check if we're doing the image.
+ * If we're not in interpret-only or verify-none or verify-at-runtime mode, go ahead and
+ * compile small applications. Don't bother to check if we're doing the image.
*/
if (!IsBootImage() &&
compiler_options_->IsCompilationEnabled() &&