summaryrefslogtreecommitdiff
path: root/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-05-09 03:39:05 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-05-09 03:39:05 +0000
commit167957fa095bc7200b908e6e142be3e604bcfeea (patch)
treee1b413b5c21bfae3e1ddaeff81e9ff75b26b2e28 /lib/Object/MachOObjectFile.cpp
parentc496875f0c205ffadcec8060e1170e1c58e4eb55 (diff)
downloadllvm-167957fa095bc7200b908e6e142be3e604bcfeea.tar.gz
llvm-167957fa095bc7200b908e6e142be3e604bcfeea.tar.bz2
llvm-167957fa095bc7200b908e6e142be3e604bcfeea.tar.xz
Change getRelocationAdditionalInfo to be ELF only.
It was only implemented for ELF where it collected the Addend, so this patch also renames it to getRelocationAddend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object/MachOObjectFile.cpp')
-rw-r--r--lib/Object/MachOObjectFile.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Object/MachOObjectFile.cpp b/lib/Object/MachOObjectFile.cpp
index dfd8d3d3dd..af14c72145 100644
--- a/lib/Object/MachOObjectFile.cpp
+++ b/lib/Object/MachOObjectFile.cpp
@@ -989,12 +989,6 @@ MachOObjectFile::getRelocationTypeName(DataRefImpl Rel,
return object_error::success;
}
-error_code MachOObjectFile::getRelocationAdditionalInfo(DataRefImpl Rel,
- int64_t &Res) const {
- Res = 0;
- return object_error::success;
-}
-
error_code
MachOObjectFile::getRelocationValueString(DataRefImpl Rel,
SmallVectorImpl<char> &Result) const {