From a2782f6e77f175ceccf634f454956f1986388e4c Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 3 Apr 2014 02:32:47 +0000 Subject: Remove getSymbolValue. All existing users explicitly ask for an address or a file offset. llvm-svn: 205503 --- llvm/lib/Object/MachOObjectFile.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'llvm/lib/Object/MachOObjectFile.cpp') diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp index 6955ef0..24368df 100644 --- a/llvm/lib/Object/MachOObjectFile.cpp +++ b/llvm/lib/Object/MachOObjectFile.cpp @@ -631,11 +631,6 @@ MachOObjectFile::getSymbolSection(DataRefImpl Symb, return object_error::success; } -error_code MachOObjectFile::getSymbolValue(DataRefImpl Symb, - uint64_t &Val) const { - report_fatal_error("getSymbolValue unimplemented in MachOObjectFile"); -} - void MachOObjectFile::moveSectionNext(DataRefImpl &Sec) const { Sec.d.a++; } -- cgit v1.1