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 | 9dab0cc6c3caa7fe6b5c8a3f94c4c49b7a4a3b1c (patch) | |
| tree | a766ccd7beccd2d939aa9e255667fa4f3be7e057 /llvm/examples/ModuleMaker/ModuleMaker.cpp | |
| parent | af85f6083af0f2819714dedc70fe0691f32ed1b5 (diff) | |
| download | bcm5719-llvm-9dab0cc6c3caa7fe6b5c8a3f94c4c49b7a4a3b1c.tar.gz bcm5719-llvm-9dab0cc6c3caa7fe6b5c8a3f94c4c49b7a4a3b1c.zip | |
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.
llvm-svn: 181843
Diffstat (limited to 'llvm/examples/ModuleMaker/ModuleMaker.cpp')
0 files changed, 0 insertions, 0 deletions

