MCJIT: relocation addends encoded in the target aren't quite so easy.
authorJim Grosbach <grosbach@apple.com>
Thu, 13 Sep 2012 01:24:37 +0000 (01:24 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 13 Sep 2012 01:24:37 +0000 (01:24 +0000)
commit7639f98c5fc903339bf50e574aee999d54340cdf
treeb733de85a60dcf79eab7631d9a835318b66b337c
parent01e1a97021da37588ebaf94352984cd566729c4e
MCJIT: relocation addends encoded in the target aren't quite so easy.

The assumption that the target address for the relocation will always be
sizeof(intptr_t) and will always contain an addend for the relocation
value is very wrong. Default to no addend for now.

rdar://12157052

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163765 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp