Add pointerKind() method to the MachO ArchHandler's. NFC.
authorPete Cooper <peter_cooper@apple.com>
Tue, 2 Feb 2016 00:02:50 +0000 (00:02 +0000)
committerPete Cooper <peter_cooper@apple.com>
Tue, 2 Feb 2016 00:02:50 +0000 (00:02 +0000)
commit1a6098b86bd251d678a20e13bbf6d95072e72b3d
tree988021e3ed2db21bb953308cfb643d6e5eb7ff77
parentab010737659e37fded8238f22665e24022628b8d
Add pointerKind() method to the MachO ArchHandler's.  NFC.

The ObjCPass is going to need to create pointer sized relocations in
the ObjC sections.  This method will be used to give us a target independent
way of getting the correct kind for the refererence.

llvm-svn: 259441
lld/lib/ReaderWriter/MachO/ArchHandler.h
lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp
lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp
lld/lib/ReaderWriter/MachO/ArchHandler_x86.cpp
lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp