llvm-6502/unittests/IR
Duncan P. N. Exon Smith b943370653 Verifier: Check operands of MDType subclasses and MDCompileUnit
Add verify checks for `MDType` subclasses and for `MDCompileUnit`.
These new checks don't yet incorporate everything from `Verify()`, but
at least they sanity check the operands.  Also downcast accessors as
possible.

A lot of these accessors can't be downcast as far as we'd like because
of arrays of typed objects (stored in a generic `MDTuple`) and
`MDString`-based type references.  Eventually I'll port over `DIRef<>`
and `DITypedArray<>` from `DebugInfo.h` to clean those up as well.

Updated bitrotted testcases separately in r233415 and r233443 to reduce
churn on the off-chance this needs to be reverted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233446 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-27 23:05:04 +00:00
..
AttributesTest.cpp
CMakeLists.txt The leak detector is dead, long live asan and valgrind. 2014-12-22 13:00:36 +00:00
ConstantRangeTest.cpp [ConstantRange] Split makeICmpRegion in two. 2015-03-18 00:41:24 +00:00
ConstantsTest.cpp [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
DebugInfoTest.cpp Add missing includes. make_unique proliferated everywhere. 2015-03-01 21:28:53 +00:00
DominatorTreeTest.cpp [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
InstructionsTest.cpp [opaque pointer type] gep API migration 2015-03-14 21:40:10 +00:00
IRBuilderTest.cpp DataLayout is mandatory, update the API to reflect it with references. 2015-03-10 02:37:25 +00:00
LegacyPassManagerTest.cpp Make DataLayout Non-Optional in the Module 2015-03-04 18:43:29 +00:00
Makefile
MDBuilderTest.cpp IR: Split Metadata from Value 2014-12-09 18:38:53 +00:00
MetadataTest.cpp Verifier: Check operands of MDType subclasses and MDCompileUnit 2015-03-27 23:05:04 +00:00
PassManagerTest.cpp [PM] Add names and debug logging for analysis passes to the new pass 2015-01-05 12:21:44 +00:00
PatternMatch.cpp
TypeBuilderTest.cpp
TypesTest.cpp
UserTest.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
UseTest.cpp Format: Modernize using variadic templates. 2015-02-15 22:15:41 +00:00
ValueHandleTest.cpp
ValueMapTest.cpp
ValueTest.cpp
VerifierTest.cpp
WaymarkTest.cpp Fix a leak found by asan. 2014-12-23 17:20:23 +00:00