Skip to content
  1. Oct 27, 2009
    • Jeffrey Yasskin's avatar
      Automatically do the equivalent of freeMachineCodeForFunction(F) when F is · bf43f654
      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
      bf43f654
  2. Oct 26, 2009
  3. Oct 24, 2009
    • Jeffrey Yasskin's avatar
      Fix http://llvm.org/PR4822: allow module deletion after a function has been · d0fc8f80
      Jeffrey 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
      d0fc8f80
  4. Oct 23, 2009
  5. Oct 22, 2009
  6. Oct 20, 2009
  7. Oct 19, 2009
  8. Oct 17, 2009
  9. Oct 15, 2009
  10. Oct 14, 2009
  11. Oct 13, 2009
  12. Oct 12, 2009
  13. Oct 10, 2009
  14. Oct 06, 2009
  15. Oct 02, 2009
  16. Sep 27, 2009
  17. Sep 26, 2009
  18. Sep 25, 2009
  19. Sep 24, 2009
  20. Sep 18, 2009
  21. Sep 17, 2009
  22. Sep 15, 2009
  23. Sep 14, 2009
  24. Sep 13, 2009
Loading