llvm/unittests
Jeffrey Yasskin 23e5fcfec4 Fix http://llvm.org/PR4822: allow module deletion after a function has been
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84975 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-23 22:37:43 +00:00
..
ADT Fix stylistic and documentation problems in ValueMap found by Nick Lewycky and 2009-10-23 20:54:00 +00:00
ExecutionEngine Fix http://llvm.org/PR4822: allow module deletion after a function has been 2009-10-23 22:37:43 +00:00
Support Add raw_ostream::write_escaped, for writing escaped strings. 2009-10-17 20:43:08 +00:00
Transforms Introduce and use convenience methods for getting pointer types 2009-10-06 15:40:36 +00:00
VMCore Update unittests for MDNode uniquing disable. 2009-09-07 04:19:02 +00:00
Makefile New unit test for the cloning module, which so far only covers cloning of 2009-09-27 21:39:46 +00:00
Makefile.unittest Try to fix unit test linking on linux ... 2009-10-02 19:52:33 +00:00