llvm-6502/unittests
Chandler Carruth e608d695de [PM] Make the verifier work independently of any pass manager.
This makes the 'verifyFunction' and 'verifyModule' functions totally
independent operations on the LLVM IR. It also cleans up their API a bit
by lifting the abort behavior into their clients and just using an
optional raw_ostream parameter to control printing.

The implementation of the verifier is now just an InstVisitor with no
multiple inheritance. It also is significantly more const-correct, and
hides the const violations internally. The two layers that force us to
break const correctness are building a DomTree and dispatching through
the InstVisitor.

A new VerifierPass is used to implement the legacy pass manager
interface in terms of the other pieces.

The error messages produced may be slightly different now, and we may
have slightly different short circuiting behavior with different usage
models of the verifier, but generally everything works equivalently and
this unblocks wiring the verifier up to the new pass manager.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199569 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-19 02:22:18 +00:00
..
ADT Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
Analysis [PM] Split DominatorTree into a concrete analysis result object which 2014-01-13 13:07:17 +00:00
Bitcode Update getLazyBitcodeModule to use ErrorOr for error handling. 2014-01-13 18:31:04 +00:00
CodeGen Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
DebugInfo [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
ExecutionEngine Update getLazyBitcodeModule to use ErrorOr for error handling. 2014-01-13 18:31:04 +00:00
IR [PM] Make the verifier work independently of any pass manager. 2014-01-19 02:22:18 +00:00
Linker Reapply r194218 with fix: 2014-01-16 06:29:36 +00:00
MC
Object [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
Option [CMake] Also OptionTests can be free from add_dependencies() with add_public_tablegen_target(). 2013-11-28 17:04:13 +00:00
Support Use LLVM_EXPLICIT instead of a function pointer as bool. 2014-01-16 23:37:23 +00:00
Transforms Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
CMakeLists.txt No point in having a "#if 0"ed unittest. 2013-12-19 03:44:13 +00:00
Makefile Reapply r194218 with fix: 2014-01-16 06:29:36 +00:00
Makefile.unittest Makefile.unittest: cleanup may fail. Add '-' in the action. 2013-12-20 04:20:23 +00:00