- Oct 24, 2009
-
-
http://llvm.org/PR4822Jeffrey Yasskin authored
compiled. When functions are compiled, they accumulate references in the JITResolver's stub maps. This patch removes those references when the functions are destroyed. It's illegal to destroy a Function when any thread may still try to call its machine code. This patch also updates r83987 to use ValueMap instead of explicit CallbackVHs and fixes a couple "do stuff inside assert()" bugs from r84522. llvm-svn: 84975
-
- Oct 20, 2009
-
-
Jeffrey Yasskin authored
JITEmitter. I'm gradually making Functions auto-remove themselves from the JIT when they're destroyed. In this case, the Function needs to be removed from the JITEmitter, but the map recording which Functions need to be removed lived behind the JITMemoryManager interface, which made things difficult. This patch replaces the deallocateMemForFunction(Function*) method with a pair of methods deallocateFunctionBody(void *) and deallocateExceptionTable(void *) corresponding to the two startFoo/endFoo pairs. llvm-svn: 84651
-
Daniel Dunbar authored
llvm-svn: 84603
-
Nick Lewycky authored
llvm-svn: 84595
-
- Oct 19, 2009
-
-
Daniel Dunbar authored
llvm-svn: 84482
-
- Oct 15, 2009
-
-
Benjamin Kramer authored
llvm-svn: 84186
-
- Oct 14, 2009
-
-
Nick Lewycky authored
llvm-svn: 84128
-
- Oct 13, 2009
-
-
Jeffrey Yasskin authored
4406. Patch by Nick Lewycky! llvm-svn: 84032
-
- Oct 06, 2009
-
-
Jeffrey Yasskin authored
llvm-svn: 83401
-
http://llvm.org/PR5116Jeffrey Yasskin authored
check-lit` on both x86-64 Linux and x86-32 Darwin. llvm-svn: 83353
-
- Aug 13, 2009
-
-
Owen Anderson authored
llvm-svn: 78948
-
- Jul 31, 2009
-
-
Benjamin Kramer authored
llvm-svn: 77730
-
- Jul 30, 2009
-
-
Owen Anderson authored
llvm-svn: 77516
-
- Jul 25, 2009
-
-
Owen Anderson authored
Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come. llvm-svn: 77011
-
- Jul 24, 2009
-
-
Reid Kleckner authored
llvm-svn: 76904
-
- Jul 23, 2009
-
-
Reid Kleckner authored
bots like the BumpPtrAllocator changes. llvm-svn: 76902
-
Reid Kleckner authored
Reverting r76825 and r76828, since they caused clang runtime errors and some build failure involving memset. llvm-svn: 76838
-
Reid Kleckner authored
out of memory, and also make the default memory manager allocate more memory when it runs out. Also, switch function stubs and global data over to using the BumpPtrAllocator. This makes it so the JIT no longer mmaps (or the equivalent on Windows) 16 MB of memory, and instead allocates in 512K slabs. I suspect this size could go lower, especially on embedded platforms, now that more slabs can be allocated. llvm-svn: 76828
-
- Jul 18, 2009
-
-
Daniel Dunbar authored
- Reid, please check, I'm not sure if this is what was intended. llvm-svn: 76286
-
Reid Kleckner authored
Also a test commit. llvm-svn: 76276
-
- Jul 15, 2009
-
-
Owen Anderson authored
llvm-svn: 75703
-
- Jul 13, 2009
-
-
Owen Anderson authored
Begin the painful process of tearing apart the rat'ss nest that is Constants.cpp and ConstantFold.cpp. This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's the only way I could figure out to make this process vaguely incremental. llvm-svn: 75445
-
- Jul 11, 2009
-
-
Dan Gohman authored
llvm-svn: 75364
-
- Jul 10, 2009
-
-
Owen Anderson authored
llvm-svn: 75262
-
- Jul 08, 2009
-
-
Jeffrey Yasskin authored
default, this option is not enabled to support clients who rely on this behavior. Fixes http://llvm.org/PR4483 A patch to allocate additional memory for globals after we run out is forthcoming. Patch by Reid Kleckner! llvm-svn: 75059
-
- Jul 01, 2009
-
-
Owen Anderson authored
llvm-svn: 74640
-
Owen Anderson authored
llvm-svn: 74622
-
- Jun 25, 2009
-
-
Jeffrey Yasskin authored
emitted or the machine code for a function is freed. Chris mentioned that we may also want a notification when a stub is emitted, but that'll be a future change. I intend to use this to tell oprofile where functions are emitted and what lines correspond to what addresses. llvm-svn: 74157
-