[PATCH] D51846: [XRay] Add the `llvm-xray fdr-dump` implementation

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 9 21:42:47 PDT 2018


dberris created this revision.
dberris added reviewers: mboerger, eizan.
Herald added subscribers: hiraditya, mgorny.

In this change, we implement a `BlockPrinter` which orders records in a
Block that's been indexed by the `BlockIndexer`. This is used in the
`llvm-xray fdr-dump` tool which ties together the various types and
utilities we've been working on, to allow for inspecting XRay FDR mode
traces both with and without verification.

This change is the final step of the refactoring of https://reviews.llvm.org/D50441.


https://reviews.llvm.org/D51846

Files:
  llvm/include/llvm/XRay/BlockPrinter.h
  llvm/lib/XRay/BlockPrinter.cpp
  llvm/lib/XRay/CMakeLists.txt
  llvm/test/tools/llvm-xray/X86/fdr-dump-arg1-version-3.txt
  llvm/test/tools/llvm-xray/X86/fdr-dump-arg1.txt
  llvm/tools/llvm-xray/CMakeLists.txt
  llvm/tools/llvm-xray/xray-fdr-dump.cpp
  llvm/unittests/XRay/CMakeLists.txt
  llvm/unittests/XRay/FDRRecordsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51846.164600.patch
Type: text/x-patch
Size: 17583 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180910/390ab948/attachment.bin>


More information about the llvm-commits mailing list