diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2013-05-14 22:41:29 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2013-05-14 22:41:29 +0000 |
commit | ebb9f17240dd72f3983d2de884d77f03d6eea4c8 (patch) | |
tree | 8661ae0012117a00c0423782c3e96f1b0f56da8a /examples | |
parent | 101a36117c2e5e760ebb2b476d6c5b2b52cac6e8 (diff) | |
download | external_llvm-ebb9f17240dd72f3983d2de884d77f03d6eea4c8.zip external_llvm-ebb9f17240dd72f3983d2de884d77f03d6eea4c8.tar.gz external_llvm-ebb9f17240dd72f3983d2de884d77f03d6eea4c8.tar.bz2 |
Object: Fix Mach-O relocation printing.
There were two problems that made llvm-objdump -r crash:
- for non-scattered relocations, the symbol/section index is actually in the
(aptly named) symbolnum field.
- sections are 1-indexed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions