llvm-6502/lib
David Greene 434bd8551d Let's try this again. Re-apply 100143 including an apparent missing
<string> include.  For some reason the buildbot choked on this while my
builds did not.  It's probably due to a difference in system headers.

---

Add some switches helpful for debugging:

-print-before=<Pass Name>

Dump IR before running pass <Pass Name>.

-print-before-all

Dump IR before running each pass.

-print-after-all

Dump IR after running each pass.

These are helpful when tracking down a miscompilation.  It is easy to
get IR dumps and do diffs on them, etc.

To make this work well, add a new getPrinterPass API to Pass so that
each kind of pass (ModulePass, FunctionPass, etc.) can create a Pass
suitable for dumping out the kind of object the Pass works on.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100204 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-02 18:46:26 +00:00
..
Analysis Let's try this again. Re-apply 100143 including an apparent missing 2010-04-02 18:46:26 +00:00
Archive Fix a grammaro. 2010-03-30 20:04:57 +00:00
AsmParser include header. 2010-04-01 05:20:21 +00:00
Bitcode If the bitcode reader input stream isn't a multiple of 4 bytes, it's more 2010-04-02 00:03:51 +00:00
CodeGen Let's try this again. Re-apply 100143 including an apparent missing 2010-04-02 18:46:26 +00:00
CompilerDriver Use FindExecutable as a fall-back search method. 2010-03-05 04:46:28 +00:00
ExecutionEngine Typo noticed by Duncan. 2010-03-30 20:15:13 +00:00
Linker Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move some 2010-02-16 14:50:09 +00:00
MC Rip out the 'is temporary' nonsense from the MCContext interface to 2010-03-30 18:10:53 +00:00
Support Remove accidental include and add a comment. 2010-04-01 14:39:55 +00:00
System AddSignalHandler was not releasing the critical section on win32. 2010-03-31 12:07:16 +00:00
Target Revert r100191 since it breaks objc in clang 2010-04-02 18:43:02 +00:00
Transforms Revert r100191 since it breaks objc in clang 2010-04-02 18:43:02 +00:00
VMCore Let's try this again. Re-apply 100143 including an apparent missing 2010-04-02 18:46:26 +00:00
Makefile remove llvm-db: it is completely broken and if anyone wants to do a debugger, 2009-10-05 02:29:51 +00:00