summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/compiler_llvm.h
diff options
context:
space:
mode:
author Logan Chien <loganchien@google.com> 2012-03-20 17:36:32 +0800
committer Shih-wei Liao <sliao@google.com> 2012-03-26 21:09:36 -0700
commitdf57614aa99801a50202e284ee8e8497d8e92621 (patch)
treec58b9f0294f2c4e3d0e5d0517eee2e4d8fad8daa /src/compiler_llvm/compiler_llvm.h
parent0f0899ac8fbaa470922976d058bbb144fb9eea06 (diff)
Add GetElfImages() method to CompilerLLVM.
(cherry picked from commit 950fc6e6a6b568f0cf511c092bee3d31547dc857) Change-Id: I1ded5909bae4d87ed05b2c192fcb2362eaa37461
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.h')
-rw-r--r--src/compiler_llvm/compiler_llvm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler_llvm/compiler_llvm.h b/src/compiler_llvm/compiler_llvm.h
index f5a282a845..90537ff2ee 100644
--- a/src/compiler_llvm/compiler_llvm.h
+++ b/src/compiler_llvm/compiler_llvm.h
@@ -17,6 +17,7 @@
#ifndef ART_SRC_COMPILER_LLVM_COMPILER_LLVM_H_
#define ART_SRC_COMPILER_LLVM_COMPILER_LLVM_H_
+#include "compiler.h"
#include "constants.h"
#include "dex_file.h"
#include "elf_image.h"
@@ -26,6 +27,8 @@
#include <UniquePtr.h>
#include <string>
+#include <utility>
+#include <vector>
namespace art {
class ClassLoader;
@@ -101,6 +104,8 @@ class CompilerLLVM {
const CompiledInvokeStub* cm,
const Method* method) const;
+ std::vector<ElfImage> GetElfImages() const;
+
CompiledMethod* CompileDexMethod(OatCompilationUnit* oat_compilation_unit);
CompiledMethod* CompileNativeMethod(OatCompilationUnit* oat_compilation_unit);