summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/VMCore/PassManagerTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson2010-08-061-6/+6
| | | | llvm-svn: 110460
* Revert r110396 to fix buildbots.Owen Anderson2010-08-061-6/+6
| | | | llvm-svn: 110410
* Don't use PassInfo* as a type identifier for passes. Instead, use the ↵Owen Anderson2010-08-051-6/+6
| | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
* Switch from EXPECT_EQ({true,false, ...) to the more canonicalChandler Carruth2010-07-131-9/+9
| | | | | | | EXPECT_{TRUE,FALSE}(...) macros. This also prevents suprious warnings about bool-to-pointer conversion that occurs withit EXPECT_EQ. llvm-svn: 108248
* introduce a new CallGraphSCC class, and pass it aroundChris Lattner2010-04-161-1/+1
| | | | | | | | to CallGraphSCCPass's instead of passing around a std::vector<CallGraphNode*>. No functionality change, but now we have a much tidier interface. llvm-svn: 101558
* Remove the last memory leak from the VMCore unit tests.Jeffrey Yasskin2010-03-131-2/+2
| | | | | Tested: valgrind --leak-check=full unittests/VMCore/Debug/VMCoreTests llvm-svn: 98414
* Roll r94484 (avoiding RTTI problems in tests) forward again in a way that isn'tJeffrey Yasskin2010-01-261-5/+0
| | | | | | broken by setting CXXFLAGS on the command line. llvm-svn: 94619
* Revert 94484. Re-disable unittests that need RTTI.Bob Wilson2010-01-261-0/+5
| | | | llvm-svn: 94569
* Re-enable unit tests disabled in r94164 by telling GTest about theJeffrey Yasskin2010-01-261-5/+0
| | | | | | lack of RTTI. llvm-svn: 94484
* Stop building RTTI information for *most* llvm libraries. NotableChris Lattner2010-01-221-0/+5
| | | | | | | | | | | missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164
* update unit test for previous change.Chris Lattner2009-08-311-1/+1
| | | | llvm-svn: 80528
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-131-17/+17
| | | | llvm-svn: 78948
* Hold the LLVMContext by reference rather than by pointer.Owen Anderson2009-07-011-3/+3
| | | | llvm-svn: 74640
* Fix unit tests for LLVMContext+Module.Owen Anderson2009-07-011-3/+4
| | | | llvm-svn: 74622
* Call doInitialization(), releaseMemory(), and doFinalization() for ↵Torok Edwin2009-06-291-0/+526
on-the-fly passes as well. Also don't call finalizers for LoopPass if initialization was not called. Add a unittest that tests that these methods are called, in the proper order, and the correct number of times. llvm-svn: 74438
OpenPOWER on IntegriCloud