Collect the Addend for external relocs.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 30 Apr 2013 01:29:57 +0000 (01:29 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 30 Apr 2013 01:29:57 +0000 (01:29 +0000)
commit8e6e02a41bd21f8e919e812dbd7aa9ed5474bdbf
treecff3a02ed7a51de9ccc0634cccfec23a157b3fa5
parent4fb224e3bd7655e25bc1f43d05a0922098aae4e0
Collect the Addend for external relocs.

This fixes 2013-04-04-RelocAddend.ll. We don't have a testcase for non external
relocs with an Addend. I will try to write one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180767 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll