summaryrefslogtreecommitdiffstats
path: root/compiler/elf_writer.h
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-02-19 13:27:42 +0000
committerNicolas Geoffray <ngeoffray@google.com>2014-02-19 20:35:39 +0000
commit50cfe74daaece80853cb3b45d4338329b7d0345b (patch)
tree0c719d6496c684f426a70645d90eb1596856fe45 /compiler/elf_writer.h
parent86ce70d30fcebf41273a9a9fd86eaa9b33c0ab56 (diff)
downloadart-50cfe74daaece80853cb3b45d4338329b7d0345b.tar.gz
art-50cfe74daaece80853cb3b45d4338329b7d0345b.tar.bz2
art-50cfe74daaece80853cb3b45d4338329b7d0345b.zip
Remove dependency on llvm/Support/ELF.h by using linux's elf.h.
Change-Id: Iefe66af9958641ac7f08fdc22f438d976e5b4d54
Diffstat (limited to 'compiler/elf_writer.h')
-rw-r--r--compiler/elf_writer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/elf_writer.h b/compiler/elf_writer.h
index dbc986a6e..99dfc56d4 100644
--- a/compiler/elf_writer.h
+++ b/compiler/elf_writer.h
@@ -18,14 +18,12 @@
#define ART_COMPILER_ELF_WRITER_H_
#include <stdint.h>
-
#include <cstddef>
#include <string>
#include <vector>
-#include <llvm/Support/ELF.h>
-
#include "base/macros.h"
+#include "elf_utils.h"
#include "os.h"
namespace art {
@@ -44,7 +42,7 @@ class ElfWriter {
size_t& oat_data_offset);
// Returns runtime oat_data runtime address for an opened ElfFile.
- static ::llvm::ELF::Elf32_Addr GetOatDataAddress(ElfFile* elf_file);
+ static Elf32_Addr GetOatDataAddress(ElfFile* elf_file);
protected:
ElfWriter(const CompilerDriver& driver, File* elf_file);