llvm-6502/unittests
Jeffrey Yasskin 0d5bd59553 To catch bugs like the one fixed in
http://llvm.org/viewvc/llvm-project?view=rev&revision=78127, I'm changing the
ExecutionEngine's global mappings to hold AssertingVH<const GlobalValue>. That
way, if unregistering a mapping fails to actually unregister it, we'll get an
assert. Running the jit nightly tests didn't uncover any actual instances of
the problem.

This also uncovered the fact that AssertingVH<const X> didn't work, so I fixed
that too.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78400 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-07 19:54:29 +00:00
..
ADT Twine: Use raw_ostream::write_hex, remove unused itohexstr method. 2009-07-30 18:30:19 +00:00
ExecutionEngine Make ExecutionEngine::updateGlobalMapping(GV, NULL) properly remove GV's old 2009-08-04 23:53:16 +00:00
Support To catch bugs like the one fixed in 2009-08-07 19:54:29 +00:00
VMCore Fix unit tests. 2009-07-31 21:38:10 +00:00
Makefile Remove now empty unit test directory. 2009-08-01 19:07:29 +00:00
Makefile.unittest include Makefile.common before using $(BuildMode) to get its definition 2009-04-01 00:35:00 +00:00
TestMain.cpp Original patch by Talin. 2009-01-01 02:24:48 +00:00