about summary refs log tree commit diff homepage
path: root/lib/Core/ExternalDispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Core/ExternalDispatcher.h')
-rw-r--r--lib/Core/ExternalDispatcher.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Core/ExternalDispatcher.h b/lib/Core/ExternalDispatcher.h
index c64dc7d8..7c3a1d79 100644
--- a/lib/Core/ExternalDispatcher.h
+++ b/lib/Core/ExternalDispatcher.h
@@ -40,6 +40,9 @@ public:
   bool executeCall(llvm::Function *function, llvm::Instruction *i,
                    uint64_t *args);
   void *resolveSymbol(const std::string &name);
+
+  int getLastErrno();
+  void setLastErrno(int newErrno);
 };
 }