projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove exception handling support from the old JIT.
[oota-llvm.git]
/
tools
/
lli
/
RecordingMemoryManager.h
diff --git
a/tools/lli/RecordingMemoryManager.h
b/tools/lli/RecordingMemoryManager.h
index 85bf4e14436300aab1e3f2d243b2693e32376e59..f3d026f2419c754595967594c086eb124fefb38d 100644
(file)
--- a/
tools/lli/RecordingMemoryManager.h
+++ b/
tools/lli/RecordingMemoryManager.h
@@
-31,6
+31,12
@@
private:
SmallVector<Allocation, 16> AllocatedDataMem;
SmallVector<Allocation, 16> AllocatedCodeMem;
SmallVector<Allocation, 16> AllocatedDataMem;
SmallVector<Allocation, 16> AllocatedCodeMem;
+ // FIXME: This is part of a work around to keep sections near one another
+ // when MCJIT performs relocations after code emission but before
+ // the generated code is moved to the remote target.
+ sys::MemoryBlock Near;
+ sys::MemoryBlock allocateSection(uintptr_t Size);
+
public:
RecordingMemoryManager() {}
virtual ~RecordingMemoryManager();
public:
RecordingMemoryManager() {}
virtual ~RecordingMemoryManager();
@@
-69,11
+75,6
@@
public:
uint8_t *allocateSpace(intptr_t Size, unsigned Alignment);
uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment);
void deallocateFunctionBody(void *Body);
uint8_t *allocateSpace(intptr_t Size, unsigned Alignment);
uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment);
void deallocateFunctionBody(void *Body);
- uint8_t* startExceptionTable(const Function* F, uintptr_t &ActualSize);
- void endExceptionTable(const Function *F, uint8_t *TableStart,
- uint8_t *TableEnd, uint8_t* FrameRegister);
- void deallocateExceptionTable(void *ET);
-
};
} // end namespace llvm
};
} // end namespace llvm