summaryrefslogtreecommitdiffstats
path: root/compiler/elf_writer_test.cc
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_test.cc
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_test.cc')
-rw-r--r--compiler/elf_writer_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/elf_writer_test.cc b/compiler/elf_writer_test.cc
index 95e5f9f73d..5bad0d00ea 100644
--- a/compiler/elf_writer_test.cc
+++ b/compiler/elf_writer_test.cc
@@ -31,7 +31,7 @@ class ElfWriterTest : public CommonTest {
#define EXPECT_ELF_FILE_ADDRESS(ef, expected_value, symbol_name, build_map) \
do { \
- void* addr = reinterpret_cast<void*>(ef->FindSymbolAddress(::llvm::ELF::SHT_DYNSYM, \
+ void* addr = reinterpret_cast<void*>(ef->FindSymbolAddress(SHT_DYNSYM, \
symbol_name, \
build_map)); \
EXPECT_NE(nullptr, addr); \