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 | 953af053eb35f80e6e7b211d5c1e157c0dfa8474 (patch) | |
tree | de94f88a9094e78513fc5022a626eff127a6b2da /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 7149b6f115e652453999e228598476976b47fe4a (diff) | |
download | bcm5719-llvm-953af053eb35f80e6e7b211d5c1e157c0dfa8474.tar.gz bcm5719-llvm-953af053eb35f80e6e7b211d5c1e157c0dfa8474.zip |
Stub out some of the MachO relocation decoding hooks.
llvm-svn: 142840
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
-rw-r--r-- | llvm/lib/Object/MachOObjectFile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp index 7c6c232e63d..19396be05d3 100644 --- a/llvm/lib/Object/MachOObjectFile.cpp +++ b/llvm/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; } |