search for: memoryblock

Displaying 8 results from an estimated 8 matches for "memoryblock".

Did you mean: memory_block
2012 Dec 04
2
[LLVMdev] [PATCH][Review request] MappedMemoryTest: Prevent tests from running if read flag is not set.
...of the block. This patch fixes this, and checks that both read and write flags are set. unittests/Support/MemoryTest.cpp (line 101) TEST_P(MappedMemoryTest, BasicWrite) { // This test applies only to writeable combinations if (Flags && !(Flags & Memory::MF_WRITE)) return; MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), 0, Flags, EC); ... int *a = (int*)M1.base(); *a = 1; EXPECT_EQ(1, *a); // This line segfaults. ... } -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2012...
2010 Jun 12
1
Problem launching Cursed mountain
...soundPresets.txt CreateCast Effects path = <CP>\Settings\effects.txt CreateCast Particle Presets path = <CP>\Settings\particle_presets.txt CreateCast Player path = <CP>\Settings\player.txt CreateCast Menu path = *********** SoundEngine::Init() *********** SoundEngine::Init with memoryBlock, size: 46080.000000 kb Created EventSystem Note: I am using Ubuntu 10.04, I did not restarted the system, installed or removed anything . [/code]
2004 Sep 15
1
[LLVMdev] Cygwin and FreeBSD broken
The new method Memory::ReleaseRWX has the wrong signature on these two platforms. The argument type is Memory& when it should be MemoryBlock&.
2012 Dec 05
0
[LLVMdev] [PATCH][Review request] MappedMemoryTest: Prevent tests from running if read flag is not set.
...of the block. This patch fixes this, and checks that both read and write flags are set. unittests/Support/MemoryTest.cpp (line 101) TEST_P(MappedMemoryTest, BasicWrite) { // This test applies only to writeable combinations if (Flags && !(Flags & Memory::MF_WRITE)) return; MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), 0, Flags, EC); ... int *a = (int*)M1.base(); *a = 1; EXPECT_EQ(1, *a); // This line segfaults. ... } -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2012...
2010 Sep 30
3
[LLVMdev] JIT with MC - structure
...ger : to give it to the object writer (for memory claiming) - MCJITObjectWriter - knows : - the MCJIT : for mapping GlobalVariable <-> native address - the MemoryManager : for claiming memory - mem_raw_ostream - The ostream interface to write data in memory - Currently using a MemoryBlock but will probably be changed for matching JITMemoryManager structure Another point of interest is how the current mappings are implemented in the ExecutionEngine. When applying fixups in the ObjectWriter, we get a symbol name from a MCSymbol. With the current mappings the Writer is forced to kno...
2014 Oct 19
14
[LLVMdev] RFC: Are we ready to completely move away from the optionality of a DataLayout?
I've just wasted a day chasing my tail because of subtleties introduced to handle the optionality of the DataLayout. I would like to never do this again. =] We now have this attached to the Module with just a flimsy faked-up pass to keep APIs consistent. So, is there any problem with beginning down the path of: 1) Synthesizing a "default" boring DataLayout for all modules that
2008 Feb 04
0
[LLVMdev] Exception handling in JIT
...x: lib/ExecutionEngine/JIT/JITMemoryManager.cpp > =================================================================== > --- lib/ExecutionEngine/JIT/JITMemoryManager.cpp (revision 46612) > +++ lib/ExecutionEngine/JIT/JITMemoryManager.cpp (working copy) > @@ -256,6 +256,7 @@ > sys::MemoryBlock getNewMemoryBlock(unsigned size); > > std::map<const Function*, MemoryRangeHeader*> FunctionBlocks; > + std::map<const Function*, MemoryRangeHeader*> TableBlocks; > public: > DefaultJITMemoryManager(); > ~DefaultJITMemoryManager(); > @@ -290,6 +291,...
2008 Feb 01
2
[LLVMdev] Exception handling in JIT
Dear all, Here's a new patch with Evan's comments (thx Evan!) and some cleanups. Now the (duplicated) exception handling code is in a new file: lib/ExecutionEngine/JIT/JITDwarfEmitter. This patch should work on linux/x86 and linux/ppc (tested). Nicolas -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: jit-exceptions.patch URL: