Make EHFrames available to sub-classes of RTDyldMemoryManager.

Summary: This information can be useful; and in the case of Win64, necessary for getting exceptions to work in the JIT.

Reviewers: lhames

Reviewed By: lhames

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D35102

llvm-svn: 308321
This commit is contained in:
Frederich Munch 2017-07-18 15:50:28 +00:00
parent 6da7db31df
commit 7e925ddf2f

View File

@ -135,12 +135,13 @@ public:
virtual void *getPointerToNamedFunction(const std::string &Name,
bool AbortOnFailure = true);
private:
protected:
struct EHFrame {
uint8_t *Addr;
size_t Size;
};
std::vector<EHFrame> EHFrames;
typedef std::vector<EHFrame> EHFrameInfos;
EHFrameInfos EHFrames;
};
// Create wrappers for C Binding types (see CBindingWrapping.h).