llvm-project/llvm/test/Transforms/ObjCARC
Duncan P. N. Exon Smith 166121ad0b Verifier: Check debug info intrinsic arguments
Verify that debug info intrinsic arguments are valid.  (These checks
will not recurse through the full debug info graph, so they don't need
to be cordoned of in `DebugInfoVerifier`.)

With those checks in place, changing the `DbgIntrinsicInst` accessors to
downcast to `MDLocalVariable` and `MDExpression` is natural (added isa
specializations in `Metadata.h` to support this).

Added tests to `test/Verifier` for the new -verify checks, and fixed the
debug info in all the in-tree tests.

If you have out-of-tree testcases that have started to fail to -verify,
hopefully the verify checks are helpful.  The most likely problem is
that the expression argument is `!{}` (instead of `!MDExpression()`).

llvm-svn: 232296
2015-03-15 01:21:30 +00:00
..
allocas.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
apelim.ll
basic.ll Verifier: Check debug info intrinsic arguments 2015-03-15 01:21:30 +00:00
cfg-hazards.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
contract-end-of-use-list.ll Fix use_iterator crash in ObjCArc from r203364 2014-03-18 22:32:43 +00:00
contract-marker.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
contract-storestrong-ivar.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
contract-storestrong.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
contract-testcases.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
contract.ll Catch more CHECK that can be converted to CHECK-LABEL in Transforms for easier debugging. No functionality change. 2013-07-14 01:50:49 +00:00
empty-block.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
ensure-that-exception-unwind-path-is-visited.ll Verifier: Check debug info intrinsic arguments 2015-03-15 01:21:30 +00:00
escape.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
expand.ll
gvn.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
intrinsic-use-isolated.ll Catch more CHECK that can be converted to CHECK-LABEL in Transforms for easier debugging. No functionality change. 2013-07-14 01:50:49 +00:00
intrinsic-use.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
invoke.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
move-and-form-retain-autorelease.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
move-and-merge-autorelease.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
nested.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
path-overflow.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
pointer-types.ll Catch more CHECK that can be converted to CHECK-LABEL in Transforms for easier debugging. No functionality change. 2013-07-14 01:50:49 +00:00
post-inlining.ll Catch more CHECK that can be converted to CHECK-LABEL in Transforms for easier debugging. No functionality change. 2013-07-14 01:50:49 +00:00
pr12270.ll
provenance.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
retain-block-side-effects.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
retain-not-declared.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
rle-s2l.ll
rv.ll Catch more CHECK that can be converted to CHECK-LABEL in Transforms for easier debugging. No functionality change. 2013-07-14 01:50:49 +00:00
split-backedge.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
tail-call-invariant-enforcement.ll
weak-contract.ll
weak-copies.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
weak-dce.ll BasicAA: Use reachabilty instead of dominance for checking value equality in phi 2014-01-03 05:47:03 +00:00
weak.ll Catch more CHECK that can be converted to CHECK-LABEL in Transforms for easier debugging. No functionality change. 2013-07-14 01:50:49 +00:00