diff options
author | Nick Kledzik <kledzik@apple.com> | 2014-06-27 18:25:01 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2014-06-27 18:25:01 +0000 |
commit | 3f69076278421d731a80804a743f89c72384b379 (patch) | |
tree | c169e62efc983af55f662101612ae1241d2ff07f /llvm/lib/Object/ELF.cpp | |
parent | dad0a645a7b392900c9fb34f11815060d03a2233 (diff) | |
download | bcm5719-llvm-3f69076278421d731a80804a743f89c72384b379.tar.gz bcm5719-llvm-3f69076278421d731a80804a743f89c72384b379.zip |
[mach-o] refactor x86_64 relocation handling.
This is first step in reworking how mach-o relocations are processed.
The existing KindHandler is going to become a delgate/helper object for
processing architecture specific references. The KindHandler knows how
to convert mach-o relocations into References and back, as well, as fixing
up the content the relocation is on.
One of the messy things about mach-o relocations is that they sometime
come in pairs, but the pairs still convert to one lld::Reference. So, the
conversion has to detect pairs (arch specific) and change the stride.
llvm-svn: 211921
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
0 files changed, 0 insertions, 0 deletions