summaryrefslogtreecommitdiffstats
path: root/compiler/image_writer.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-07 16:20:54 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-11-07 16:20:55 +0000
commitbcc1ce07df3bc584d17c00ca9302921afe0795a4 (patch)
tree3f4c268480a66d419262c8e9e34bf99fcc4731b7 /compiler/image_writer.cc
parent582271847f58fd88db95894984f8d6b83dd90719 (diff)
parent88ec7f45c0e2c3f659048fbe4b1dc78730fdaea8 (diff)
downloadart-bcc1ce07df3bc584d17c00ca9302921afe0795a4.tar.gz
art-bcc1ce07df3bc584d17c00ca9302921afe0795a4.tar.bz2
art-bcc1ce07df3bc584d17c00ca9302921afe0795a4.zip
Merge "ART: Refactor dex2oat"
Diffstat (limited to 'compiler/image_writer.cc')
-rw-r--r--compiler/image_writer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/image_writer.cc b/compiler/image_writer.cc
index 448888f02..cf2cddb89 100644
--- a/compiler/image_writer.cc
+++ b/compiler/image_writer.cc
@@ -103,13 +103,13 @@ bool ImageWriter::Write(const std::string& image_filename,
std::unique_ptr<File> oat_file(OS::OpenFileReadWrite(oat_filename.c_str()));
if (oat_file.get() == NULL) {
- LOG(ERROR) << "Failed to open oat file " << oat_filename << " for " << oat_location;
+ PLOG(ERROR) << "Failed to open oat file " << oat_filename << " for " << oat_location;
return false;
}
std::string error_msg;
oat_file_ = OatFile::OpenReadable(oat_file.get(), oat_location, &error_msg);
if (oat_file_ == nullptr) {
- LOG(ERROR) << "Failed to open writable oat file " << oat_filename << " for " << oat_location
+ PLOG(ERROR) << "Failed to open writable oat file " << oat_filename << " for " << oat_location
<< ": " << error_msg;
return false;
}