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>
diff --git a/runtime/oat_file_manager.cc b/runtime/oat_file_manager.cc
index ed55110..111053a 100644
--- a/runtime/oat_file_manager.cc
+++ b/runtime/oat_file_manager.cc
@@ -641,8 +641,9 @@
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);
}
}