diff options
author | Owen Anderson <resistor@mac.com> | 2011-10-24 20:19:18 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-10-24 20:19:18 +0000 |
commit | 5f4e02cbf1d0fa0d8048369264201c258f2ad717 (patch) | |
tree | 864339242a95e472c30c69e4218f93b019b7973f /lib/Object | |
parent | 88d734de43984df03ed909f9163986fe873b8d1e (diff) | |
download | external_llvm-5f4e02cbf1d0fa0d8048369264201c258f2ad717.zip external_llvm-5f4e02cbf1d0fa0d8048369264201c258f2ad717.tar.gz external_llvm-5f4e02cbf1d0fa0d8048369264201c258f2ad717.tar.bz2 |
Stub out some of the MachO relocation decoding hooks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object')
-rw-r--r-- | lib/Object/MachOObjectFile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Object/MachOObjectFile.cpp b/lib/Object/MachOObjectFile.cpp index 7c6c232..19396be 100644 --- a/lib/Object/MachOObjectFile.cpp +++ b/lib/Object/MachOObjectFile.cpp @@ -641,6 +641,8 @@ error_code MachOObjectFile::getRelocationType(DataRefImpl Rel, } error_code MachOObjectFile::getRelocationTypeName(DataRefImpl Rel, SmallVectorImpl<char> &Result) const { + StringRef res = "Unknown"; + Result.append(res.begin(), res.end()); return object_error::success; } error_code MachOObjectFile::getRelocationAdditionalInfo(DataRefImpl Rel, @@ -666,6 +668,8 @@ error_code MachOObjectFile::getRelocationAdditionalInfo(DataRefImpl Rel, } error_code MachOObjectFile::getRelocationValueString(DataRefImpl Rel, SmallVectorImpl<char> &Result) const { + StringRef res = "Unknown"; + Result.append(res.begin(), res.end()); return object_error::success; } |