- Oct 27, 2009
-
-
Jeffrey Yasskin authored
being destroyed. This allows users to run global optimizations like globaldce even after some functions have been jitted. This patch also removes the Function* parameter to JITEventListener::NotifyFreeingMachineCode() since it can cause that to be called when the Function is partially destroyed. This change will be even more helpful later when I think we'll want to allow machine code to actually outlive its Function. llvm-svn: 85182
-
- Oct 26, 2009
-
-
Julien Lerouge authored
llvm-svn: 85149
-
Chandler Carruth authored
direct inclusion edge from System to Support. llvm-svn: 85086
-
- 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 23, 2009
-
-
Jeffrey Yasskin authored
Evan Cheng. llvm-svn: 84967
-
Jeffrey Yasskin authored
gcc-4.4. llvm-svn: 84902
-
- Oct 22, 2009
-
-
Jeffrey Yasskin authored
llvm-svn: 84892
-
Jeffrey Yasskin authored
even when keys get RAUWed and deleted during its lifetime. By default the keys act like WeakVHs, but users can pass a third template parameter to configure how updates work and whether to do anything beyond updating the map on each action. It's also possible to automatically acquire a lock around ValueMap updates triggered by RAUWs and deletes, to support the ExecutionEngine. llvm-svn: 84890
-
- 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 17, 2009
-
-
Daniel Dunbar authored
llvm-svn: 84355
-
- 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
-
Jeffrey Yasskin authored
GlobalValue is destroyed. Function destruction still leaks machine code and can crash on leaked stubs, but this is some progress. llvm-svn: 83987
-
Duncan Sands authored
these constants unsigned. llvm-svn: 83962
-
Dan Gohman authored
llvm-svn: 83932
-
- Oct 12, 2009
-
-
- Oct 10, 2009
-
-
Jeffrey Yasskin authored
mappings, which could cause errors and assert-failures. This patch fixes that, adds a test, and refactors the global-mapping-removal code into a single place. llvm-svn: 83678
-
- Oct 06, 2009
-
-
Jeffrey Yasskin authored
llvm-svn: 83401
-
Duncan Sands authored
where the element is of a basic builtin type. For example, to get an i8* use getInt8PtrTy. llvm-svn: 83379
-
http://llvm.org/PR5116Jeffrey Yasskin authored
check-lit` on both x86-64 Linux and x86-32 Darwin. llvm-svn: 83353
-
- Oct 02, 2009
-
-
Benjamin Kramer authored
llvm-svn: 83252
-
Benjamin Kramer authored
- MingW needs -lpsapi (in ${LIBS}) linked after -lLLVMSystem. Noticed by Ronald Pijnacker! - Some parts of the System library must be build with exceptions on windows. Based on a patch by Jay Foad! llvm-svn: 83251
-
- Sep 27, 2009
-
-
Nick Lewycky authored
instructions' optimization flags. llvm-svn: 82934
-
Nick Lewycky authored
llvm-svn: 82925
-
- Sep 26, 2009
-
-
Chris Lattner authored
and makes the API more annoying. Add a Regex::getNumMatches() method. llvm-svn: 82877
-
- Sep 25, 2009
-
-
Jeffrey Yasskin authored
setenv(). This patch just disables the test rather than getting putenv() to work. Thanks to Sandeep Patel for reporting the problem. llvm-svn: 82797
-
- Sep 24, 2009
-
-
Chris Lattner authored
; CHECK: movl {{%e[a-z][xi]}}, %eax or whatever. llvm-svn: 82717
-
Jeffrey Yasskin authored
a trivial unittest would have caught. This revision also adds the trivial unittest. llvm-svn: 82675
-
- Sep 18, 2009
-
-
Daniel Dunbar authored
llvm-svn: 82232
-
- Sep 17, 2009
-
-
Daniel Dunbar authored
llvm-svn: 82148
-
Daniel Dunbar authored
llvm-svn: 82087
-
- Sep 15, 2009
-
-
Daniel Dunbar authored
- As best I can tell, we have eliminated all the code which used to require a larger buffer size. llvm-svn: 81912
-
- Sep 14, 2009
-
-
Daniel Dunbar authored
llvm-svn: 81752
-
Daniel Dunbar authored
- 'make unittests' still builds and tests. - 'make unitcheck' inside a unittest directory runs the tests in that directory. llvm-svn: 81725
-
- Sep 13, 2009
-
-
Daniel Dunbar authored
- This eliminates a race between building the unittests and linking the UnitTestMain library. llvm-svn: 81719
-
Daniel Dunbar authored
llvm-svn: 81692
-