llvm/test
David Greene e89f1c4ee7 Fix PR6875:
This includes a patch by Roman Divacky to fix the initial crash.

Move the actual addition of passes from *PassManager::add to
*PassManager::addImpl.  That way, when adding printer passes we won't
recurse infinitely.

Finally, check to make sure that we are actually adding a FunctionPass
to a FunctionPassManager before doing a print before or after it.
Immutable passes are strange in this way because they aren't
FunctionPasses yet they can be and are added to the FunctionPassManager.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103425 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-10 20:24:27 +00:00
..
Analysis Add a comment to this test. 2010-04-26 21:37:43 +00:00
Archive
Assembler add newlines at the end of files. 2010-04-07 22:53:17 +00:00
Bindings/Ocaml
Bitcode reapply 'reject forward references to functions whose type don't match' 2010-04-20 04:49:11 +00:00
BugPoint
CodeGen Be careful with operand promotion. For a binary operation, the source operands may be the same. PR7018. rdar://7939869. 2010-05-10 19:03:57 +00:00
DebugInfo Set DW_AT_APPLE_omit_frame_ptr in endFunction() where MachineFunction is available all the time. 2010-05-04 06:15:30 +00:00
ExecutionEngine Revert r101455, which fails on the llvm-arm-linux buildbot. 2010-04-16 18:37:31 +00:00
Feature
FrontendAda
FrontendC Adjust tests affected by llvm-gcc 103229. 2010-05-07 01:11:31 +00:00
FrontendC++ Test case for 103414. 2010-05-10 17:49:40 +00:00
FrontendFortran
FrontendObjC
FrontendObjC++
Integer
lib
Linker
LLVMC
MC Fix i386 relocations to Weak Definitions. The relocation entries should be 2010-05-07 21:44:23 +00:00
Other Fix PR6875: 2010-05-10 20:24:27 +00:00
Scripts
TableGen
Transforms make simplifycfg insert an llvm.trap before the 'unreachable' it introduces 2010-05-08 22:15:59 +00:00
Unit
Verifier Reapply address space patch after fixing an issue in MemCopyOptimizer. 2010-04-04 03:10:48 +00:00
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile doh, didn't mean to check in my hackaround lit sucking. :) 2010-04-17 19:04:03 +00:00
Makefile.tests
site.exp.in
TestRunner.sh