From 3fe0c60b00f32274f0763feb6b51bb05dff2abb9 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Tue, 27 Mar 2012 21:14:37 +0800 Subject: 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 --- src/compiler_llvm/elf_loader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler_llvm') 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(elf_image.begin()) << " size: " << elf_image.size(); return false; } -- cgit v1.2.3-59-g8ed1b