summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix a tricky bug in the JIT global variable emitter, that was triggered when ↵Nuno Lopes2008-10-211-1/+18
| | | | | | JITing a variable independently of a function. This lead to sharing memory memory between functions and GVs thus changing the value of a GV could change the code in execution. more details on the ML. llvm-svn: 57900
* Add <cstdio> include where needed by gcc-4.4.Duncan Sands2008-10-081-0/+1
| | | | | | Patch by Samuel Tardieu. llvm-svn: 57291
* On Darwin ARM, memory needs special handling to do JIT. This patch expandsJim Grosbach2008-10-031-0/+15
| | | | | | | this handling to work properly for modifying stub functions, relocations back to entry points after JIT compilation, etc.. llvm-svn: 57013
* Preliminary support for systems which require changing JIT memory regions ↵Evan Cheng2008-09-181-0/+4
| | | | | | privilege from read / write to read / executable. llvm-svn: 56303
* Rewrite JIT handling of GlobalVariables so theyDale Johannesen2008-08-071-1/+1
| | | | | | | | | | | | | | are allocated in the same buffer as the code, jump tables, etc. The default JIT memory manager does not handle buffer overflow well. I didn't introduce this and I'm not attempting to fix it here, but it is more likely to be hit now since we're putting more stuff in the buffer. This affects one test that I know of so far, MultiSource/Benchmarks/NPB-serial/is. llvm-svn: 54442
* Fix for PR2578. Do not split off a block whose size is less than ↵Evan Cheng2008-07-291-0/+3
| | | | | | FreeRangeHeader::getMinBlockSize(). Patch by Damien. llvm-svn: 54152
* Use static_cast instead of reinterpret_cast for casting void*.Dan Gohman2008-06-211-1/+1
| | | | llvm-svn: 52592
* Correlate stubs with functions in JIT: when emitting a stub, the JIT tells ↵Nicolas Geoffray2008-04-161-2/+5
| | | | | | | | the memory manager which function the stub will resolve. llvm-svn: 49814
* fix 80 col violationsChris Lattner2008-03-071-1/+2
| | | | llvm-svn: 48019
* Unbreak build with gcc 4.3: provide missed includes and silence most ↵Anton Korobeynikov2008-02-201-0/+2
| | | | | | annoying warnings. llvm-svn: 47367
* Enable exception handling int JITNicolas Geoffray2008-02-131-0/+41
| | | | llvm-svn: 47079
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Adjust VStudio files to add JITMemoryManager files + include <cassert> from ↵Chuck Rose III2007-12-061-0/+1
| | | | | | same. llvm-svn: 44651
* split the JIT memory management code out from the main JIT logic into itsChris Lattner2007-12-051-0/+427
own JITMemoryManager interface. There is no functionality change with this patch. llvm-svn: 44640
OpenPOWER on IntegriCloud