search for: recordingjitmemorymanag

Displaying 3 results from an estimated 3 matches for "recordingjitmemorymanag".

2012 Sep 24
0
[LLVMdev] [llvm-commits] Fwd: Re: [PATCH] Fix for bug in JIT exception table allocation
...ne/JIT/JITTest.cpp =================================================================== --- unittests/ExecutionEngine/JIT/JITTest.cpp (revision 163809) +++ unittests/ExecutionEngine/JIT/JITTest.cpp (working copy) @@ -203,14 +203,21 @@ class JITTest : public testing::Test { protected: + virtual RecordingJITMemoryManager* CreateMemoryManager() { + return new RecordingJITMemoryManager; + } + virtual void SetUp() { M = new Module("<main>", Context); - RJMM = new RecordingJITMemoryManager; + RJMM = CreateMemoryManager(); RJMM->setPoisonMemory(true); std::string Error; +...
2012 Aug 22
1
[LLVMdev] [PATCH] Fix for bug in JIT exception table allocation (no test yet)
On Aug 21, 2012, at 2:12 PM, Michael Muller <mmuller at enduden.com> wrote: > > Hi, I found a bug in the code that generates exception tables, I've attached > what I think is the correct fix. > > When you run out of space writing to a buffer, the buffer management code > simply stops writing at the end of the buffer. It is the responsibility of > the caller to
2012 Aug 23
0
[LLVMdev] [PATCH] Fix for bug in JIT exception table allocation (no test yet)
Eric Christopher wrote: > > On Aug 21, 2012, at 2:12 PM, Michael Muller <mmuller at enduden.com> wrote: > > > > > Hi, I found a bug in the code that generates exception tables, I've attached > > what I think is the correct fix. > > > > When you run out of space writing to a buffer, the buffer management code > > simply stops writing at the