commit | e8cfb5988ff42f7c03f1f722b8a8d018e978bcd0 | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Sat Jul 19 00:19:17 2014 +0000 |
committer | Lang Hames <lhames@gmail.com> | Sat Jul 19 00:19:17 2014 +0000 |
tree | c82475be52cb848fcddb9c3840e61ddbf073a0ae | |
parent | db98ac6a729633e51d55aa830c22a864ab717b07 [diff] |
[MCJIT] Add a 'decodeAddend' method to RuntimeDyldMachO and teach getBasicRelocationEntry to use this rather than 'memcpy' to get the relocation addend. Targets with non-trivial addend encodings (E.g. AArch64) can override decodeAddend to handle immediates with interesting encodings. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213435 91177308-0d34-0410-b5e6-96231b3b80d8