This is an archive of the discontinued LLVM Phabricator instance.

[llvm-pdbutil] Add the ability to dump a single type's entire dependency chain
ClosedPublic

Authored by zturner on Jun 30 2017, 10:34 AM.

Details

Summary

Previously we had the -type-index option which would dump the record of a single, but we had no way to follow the dependency graph backwards and also dump all dependent types.

Having this option makes test-writing better, because we can limit the test to only those records that are of importance for the thing we're trying to test, which allows us to use things like CHECK-NEXT to reduce fragility.

Diff Detail

Repository
rL LLVM

Event Timeline

zturner created this revision.Jun 30 2017, 10:34 AM
rnk accepted this revision.Jun 30 2017, 10:45 AM

lgtm, nice

This revision is now accepted and ready to land.Jun 30 2017, 10:45 AM
This revision was automatically updated to reflect the committed changes.