summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/ArchHandler.h
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-10-16 20:52:18 +0000
committerTim Northover <tnorthover@apple.com>2014-10-16 20:52:18 +0000
commit933bead97d1cd46e29d347329442a3c6f7259ce7 (patch)
tree0fdee569c82603f7034f1462a6c5f997cb62dcc8 /lld/lib/ReaderWriter/MachO/ArchHandler.h
parent57d4cae202f55da2e0f2daa9067976a779361d55 (diff)
downloadbcm5719-llvm-933bead97d1cd46e29d347329442a3c6f7259ce7.tar.gz
bcm5719-llvm-933bead97d1cd46e29d347329442a3c6f7259ce7.zip
[mach-o] update __eh_frame handling for Nick's suggestions
First, add a comment to support more variation in FDE formats. Second, refactor fde -> function handling into a separate function living in the ArchHandler. llvm-svn: 219959
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/ArchHandler.h')
-rw-r--r--lld/lib/ReaderWriter/MachO/ArchHandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/lib/ReaderWriter/MachO/ArchHandler.h b/lld/lib/ReaderWriter/MachO/ArchHandler.h
index f4e7bf7a691..9613f7a29bc 100644
--- a/lld/lib/ReaderWriter/MachO/ArchHandler.h
+++ b/lld/lib/ReaderWriter/MachO/ArchHandler.h
@@ -88,6 +88,8 @@ public:
/// __eh_frame.
virtual Reference::KindValue unwindRefToEhFrameKind() = 0;
+ virtual const Atom *fdeTargetFunction(const DefinedAtom *fde);
+
/// Used by normalizedFromAtoms() to know where to generated rebasing and
/// binding info in final executables.
virtual bool isPointer(const Reference &) = 0;
OpenPOWER on IntegriCloud