search for: allocatestub

Displaying 5 results from an estimated 5 matches for "allocatestub".

2013 Oct 01
2
[LLVMdev] JITMemoryManager
..._t *getGOTBase() const { return mgr()->getGOTBase(); } virtual uint8_t *startFunctionBody(const llvm::Function *F, uintptr_t &ActualSize) { return mgr()->startFunctionBody(F, ActualSize); } virtual uint8_t *allocateStub(const llvm::GlobalValue *F, unsigned StubSize, unsigned Alignment) { return mgr()->allocateStub(F, StubSize, Alignment); } virtual void endFunctionBody(const llvm::Function *F,...
2013 Oct 02
0
[LLVMdev] JITMemoryManager
...; return mgr()->getGOTBase(); > } > virtual uint8_t *startFunctionBody(const llvm::Function *F, > uintptr_t &ActualSize) { > return mgr()->startFunctionBody(F, ActualSize); > } > virtual uint8_t *allocateStub(const llvm::GlobalValue *F, > unsigned StubSize, > unsigned Alignment) { > return mgr()->allocateStub(F, StubSize, Alignment); > } > virtual void endFunctionBody(const llvm::Function *F, >...
2004 Dec 14
0
[LLVMdev] misc. patches
...Dec 2004 07:19:16 -0000 1.59 > +++ lib/ExecutionEngine/JIT/JITEmitter.cpp 6 Dec 2004 10:34:21 -0000 > @@ -51,6 +51,7 @@ > unsigned char *CurStubPtr, *CurFunctionPtr; > public: > JITMemoryManager(); > + ~JITMemoryManager(); > > inline unsigned char *allocateStub(unsigned StubSize); > inline unsigned char *startFunctionBody(); > @@ -69,6 +70,10 @@ > CurStubPtr = CurFunctionPtr = FunctionBase; > } > > +JITMemoryManager::~JITMemoryManager() { > + sys::Memory::ReleaseRWX(MemBlock); > +} > + > unsigned char *JITMemoryM...
2013 Oct 02
3
[LLVMdev] JITMemoryManager
...gt;getGOTBase(); >> } >> virtual uint8_t *startFunctionBody(const llvm::Function *F, >> uintptr_t &ActualSize) { >> return mgr()->startFunctionBody(F, ActualSize); >> } >> virtual uint8_t *allocateStub(const llvm::GlobalValue *F, >> unsigned StubSize, >> unsigned Alignment) { >> return mgr()->allocateStub(F, StubSize, Alignment); >> } >> virtual void endFunctionBody(const llvm:...
2004 Dec 13
6
[LLVMdev] misc. patches
Hi, here are some minor patches that for various reasons I've not submitted yet - I'm just trying to clear my list of differences before christmas... First of all the clear.patch file contains a patch that enables the JIT to drop all global mappings. I need this because when I have N threads I compile N different versions of my functions using different memory areas for global