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

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 30 10:34:20 PDT 2017


zturner created this revision.
Herald added a subscriber: hiraditya.

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.


https://reviews.llvm.org/D34899

Files:
  llvm/include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h
  llvm/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
  llvm/test/tools/llvm-pdbdump/partial-type-stream.test
  llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
  llvm/tools/llvm-pdbutil/DumpOutputStyle.h
  llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
  llvm/tools/llvm-pdbutil/llvm-pdbutil.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34899.104894.patch
Type: text/x-patch
Size: 10774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170630/cc4229d8/attachment.bin>


More information about the llvm-commits mailing list