diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-30 15:40:54 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-30 15:40:54 +0000 |
commit | e87dadc44b1544c35e13cf48dfe167109929a944 (patch) | |
tree | b5142993e8acc356f130f2e58f4ae1aefdbd8d17 /include/llvm/Object | |
parent | 1872730c5a0d95ba9d2ed7e1e9607e86c50e9070 (diff) |
Fix Addend computation for non external relocations on Macho.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180790 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object')
-rw-r--r-- | include/llvm/Object/MachO.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h index 17a8fc2bff..14cd4d767d 100644 --- a/include/llvm/Object/MachO.h +++ b/include/llvm/Object/MachO.h @@ -130,6 +130,7 @@ public: unsigned getAnyRelocationPCRel(const macho::RelocationEntry &RE) const; unsigned getAnyRelocationLength(const macho::RelocationEntry &RE) const; unsigned getAnyRelocationType(const macho::RelocationEntry &RE) const; + SectionRef getRelocationSection(const macho::RelocationEntry &RE) const; // Walk load commands. LoadCommandInfo getFirstLoadCommandInfo() const; |