Fix MachO's getRelocationAdditionalInfo.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 11 Apr 2013 02:21:31 +0000 (02:21 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 11 Apr 2013 02:21:31 +0000 (02:21 +0000)
commit8bf80061ba44af16b4597627ca7d6d7fc1bed64e
treefb8ecf30dd70e1d29f6a02346356100888d2e6a9
parent4b040294816e49413c739825d801042bc76171a7
Fix MachO's getRelocationAdditionalInfo.

It was returning the loaded address of the section containing the relocation,
which really doesn't seem to be the intent of this function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179255 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/MachO.h
lib/Object/MachOObjectFile.cpp