aboutsummaryrefslogtreecommitdiff
path: root/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2013-05-14 22:41:29 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2013-05-14 22:41:29 +0000
commit9dab0cc6c3caa7fe6b5c8a3f94c4c49b7a4a3b1c (patch)
treea766ccd7beccd2d939aa9e255667fa4f3be7e057 /llvm/examples/ExceptionDemo/ExceptionDemo.cpp
parentaf85f6083af0f2819714dedc70fe0691f32ed1b5 (diff)
downloadllvm-9dab0cc6c3caa7fe6b5c8a3f94c4c49b7a4a3b1c.zip
llvm-9dab0cc6c3caa7fe6b5c8a3f94c4c49b7a4a3b1c.tar.gz
llvm-9dab0cc6c3caa7fe6b5c8a3f94c4c49b7a4a3b1c.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. llvm-svn: 181843
Diffstat (limited to 'llvm/examples/ExceptionDemo/ExceptionDemo.cpp')
0 files changed, 0 insertions, 0 deletions