summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author randy.jeong <randy.jeong@samsung.com> 2019-05-24 13:37:34 +0900
committer Treehugger Robot <treehugger-gerrit@google.com> 2019-06-03 12:57:33 +0000
commite8e2d00ec05ae561ebc7729cc7029a1dc1e02ee6 (patch)
treee61a121cb1320b347bd19ef213a06edc22976ec6
parentdbb57f3f8e3bc895ddc0dd1cd80cfa16bb1283db (diff)
Add runtimeISA logging when no original dex files
It's easy to figure out which ABI uses for the issued process. Bug: none Test: N/A Change-Id: Ia3a66e1ab5503fd1061cf51ff560fe5a1d168599 Signed-off-by: randy.jeong <randy.jeong@samsung.com>
-rw-r--r--runtime/oat_file_manager.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/oat_file_manager.cc b/runtime/oat_file_manager.cc
index ed55110c7f..111053a6a8 100644
--- a/runtime/oat_file_manager.cc
+++ b/runtime/oat_file_manager.cc
@@ -641,8 +641,9 @@ std::vector<std::unique_ptr<const DexFile>> OatFileManager::OpenDexFilesFromOat(
error_msgs->push_back("Fallback mode disabled, skipping dex files.");
}
} else {
- error_msgs->push_back("No original dex files found for dex location "
- + std::string(dex_location));
+ std::string msg = StringPrintf("No original dex files found for dex location (%s) %s",
+ GetInstructionSetString(kRuntimeISA), dex_location);
+ error_msgs->push_back(msg);
}
}