Displaying 2 results from an estimated 2 matches for "constpooladdress".
Did you mean:
constpooladdresses
2009 Jul 03
0
[LLVMdev] Question about memory allocation in JIT
...n it is necessary to remove globals allocated in that block from mappings. So we should backup Relocations before changes in "for (unsigned i = 0, e = Relocations.size(); i != e; ++i) {" loop, and, in case of buffer overflow, we should remove globals from mappings. Also, we should clear ConstPoolAddresses. There are only two changes in function JITEmitter::finishFunction:
>
>
> --- lib/ExecutionEngine/JIT/JITEmitter.cpp (original patch)
> +++ lib/ExecutionEngine/JIT/JITEmitter.cpp (my changes)
> @@ -946,6 +947,7 @@
> // FnEnd is the end of the function's machine...
2009 Jul 01
3
[LLVMdev] Question about memory allocation in JIT
Hello! Working with LLVM JIT-compiler I found a small bug and I'd like to correct it. Namely, on some tests LLVM fails with message "JIT: Ran out of space for generated machine code!"
This error emerges because the test creates big static array. Global variables are placed into memory block for function, that is first seen using given variable. Besides, during memory allocation