summaryrefslogtreecommitdiff
path: root/include/llvm/ExecutionEngine/SectionMemoryManager.h
diff options
context:
space:
mode:
authorFilip Pizlo <fpizlo@apple.com>2013-05-21 20:03:01 +0000
committerFilip Pizlo <fpizlo@apple.com>2013-05-21 20:03:01 +0000
commit1441bf7a41b50075cf761cbc794ce3fd0b5762fc (patch)
tree7fab8692dbd8b536525b99af03b9653a328e0b3a /include/llvm/ExecutionEngine/SectionMemoryManager.h
parent52755c472a738e48a9687240368e4c1f78c45711 (diff)
downloadllvm-1441bf7a41b50075cf761cbc794ce3fd0b5762fc.tar.gz
Roll out r182407 and r182408 because they broke builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182409 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ExecutionEngine/SectionMemoryManager.h')
-rw-r--r--include/llvm/ExecutionEngine/SectionMemoryManager.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/llvm/ExecutionEngine/SectionMemoryManager.h b/include/llvm/ExecutionEngine/SectionMemoryManager.h
index 6ee2a2aae590..fc8dacfcc090 100644
--- a/include/llvm/ExecutionEngine/SectionMemoryManager.h
+++ b/include/llvm/ExecutionEngine/SectionMemoryManager.h
@@ -73,6 +73,17 @@ public:
/// \returns true if an error occurred, false otherwise.
virtual bool finalizeMemory(std::string *ErrMsg = 0);
+ void registerEHFrames(StringRef SectionData);
+
+ /// This method returns the address of the specified function. As such it is
+ /// only useful for resolving library symbols, not code generated symbols.
+ ///
+ /// If \p AbortOnFailure is false and no function with the given name is
+ /// found, this function returns a null pointer. Otherwise, it prints a
+ /// message to stderr and aborts.
+ virtual void *getPointerToNamedFunction(const std::string &Name,
+ bool AbortOnFailure = true);
+
/// \brief Invalidate instruction cache for code sections.
///
/// Some platforms with separate data cache and instruction cache require