summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-03-07 20:21:27 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-03-07 20:21:27 +0000
commit1a666e0f692b94c627a25e6ea55429e3042a9a32 (patch)
tree7a05b20cc26e0687154c72e2d3ce9b9548993e86 /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
parent3b00fdce0732eeeb58ab07ed68e346503b90568d (diff)
downloadbcm5719-llvm-1a666e0f692b94c627a25e6ea55429e3042a9a32.tar.gz
bcm5719-llvm-1a666e0f692b94c627a25e6ea55429e3042a9a32.zip
ExecutionEngine: Preliminary support for dynamically loadable coff objects
Provide basic support for dynamically loadable coff objects. Only handles a subset of x64 currently. Patch by Andy Ayers! Differential Revision: http://reviews.llvm.org/D7793 llvm-svn: 231574
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
index b4414b08c48..71260d02f95 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
@@ -20,16 +20,6 @@
using namespace llvm;
namespace llvm {
-namespace {
-// Helper for extensive error checking in debug builds.
-std::error_code Check(std::error_code Err) {
- if (Err) {
- report_fatal_error(Err.message());
- }
- return Err;
-}
-
-} // end anonymous namespace
class RuntimeDyldELF : public RuntimeDyldImpl {
OpenPOWER on IntegriCloud