summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2013-10-11 21:25:48 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2013-10-11 21:25:48 +0000
commit7bb1344c67dd437a4324be90110c4e714a4b4de0 (patch)
tree3c1250198de7402b8cf3715bc05440e6937341c2 /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
parent71814b44658523f5fc747475ad8b40c9197565e2 (diff)
downloadbcm5719-llvm-7bb1344c67dd437a4324be90110c4e714a4b4de0.tar.gz
bcm5719-llvm-7bb1344c67dd437a4324be90110c4e714a4b4de0.zip
Adding multiple object support to MCJIT EH frame handling
llvm-svn: 192504
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
index 077442d8dfb..1b9e0bf035f 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
@@ -29,8 +29,7 @@ RuntimeDyldImpl::~RuntimeDyldImpl() {}
namespace llvm {
-StringRef RuntimeDyldImpl::getEHFrameSection() {
- return StringRef();
+void RuntimeDyldImpl::registerEHFrames() {
}
// Resolve the relocations for all symbols we currently know about.
@@ -171,7 +170,7 @@ ObjectImage *RuntimeDyldImpl::loadObject(ObjectBuffer *InputBuffer) {
}
// Give the subclasses a chance to tie-up any loose ends.
- finalizeLoad();
+ finalizeLoad(LocalSections);
return obj.take();
}
@@ -592,8 +591,8 @@ StringRef RuntimeDyld::getErrorString() {
return Dyld->getErrorString();
}
-StringRef RuntimeDyld::getEHFrameSection() {
- return Dyld->getEHFrameSection();
+void RuntimeDyld::registerEHFrames() {
+ return Dyld->registerEHFrames();
}
} // end namespace llvm
OpenPOWER on IntegriCloud