summaryrefslogtreecommitdiff
path: root/src/compiler_llvm
diff options
context:
space:
mode:
author Logan Chien <loganchien@google.com> 2012-03-27 21:14:37 +0800
committer Shih-wei Liao <sliao@google.com> 2012-04-06 16:35:41 -0700
commit3fe0c60b00f32274f0763feb6b51bb05dff2abb9 (patch)
tree7f525c06cc350a04f9f51601eeb7d7ae3614fdbf /src/compiler_llvm
parent59a3bede6c33ddb562cb83e4566bac0fa0a97301 (diff)
Move ElfLoader from libart-compiler-llvm to libart.
Due to the fact that we are going to use ElfLoader in OatFile, CommonTest, and Compiler, it won't be a good idea to keep ElfLoader as backend specific class. Thus, we should move ElfLoader to libart. Change-Id: I3d264266b3771eaa935b1768be1937797f57f7d7
Diffstat (limited to 'src/compiler_llvm')
-rw-r--r--src/compiler_llvm/elf_loader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler_llvm/elf_loader.cc b/src/compiler_llvm/elf_loader.cc
index ccb02ad2a4..60fce0b2a4 100644
--- a/src/compiler_llvm/elf_loader.cc
+++ b/src/compiler_llvm/elf_loader.cc
@@ -52,7 +52,7 @@ bool ElfLoader::LoadElfAt(size_t elf_idx, const ElfImage& elf_image) {
if (executable == NULL) {
LOG(WARNING) << "Failed to load ELF"
- << " image: " << elf_image.begin()
+ << " image: " << static_cast<const void*>(elf_image.begin())
<< " size: " << elf_image.size();
return false;
}