[PATCH] D51723: [XRay] Add a BlockVerifier visitor for FDR Records

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 6 01:32:49 PDT 2018


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

This patch implements a `BlockVerifier` type which enforces the
invariants of the log structure of FDR mode logs on a per-block basis.
This ensures that the data we encounter from an FDR mode log
semantically correct (i.e. that records follow the documented "grammar"
for FDR mode log records).

This is another part of the refactoring of https://reviews.llvm.org/D50441.


https://reviews.llvm.org/D51723

Files:
  llvm/include/llvm/XRay/BlockVerifier.h
  llvm/lib/XRay/BlockVerifier.cpp
  llvm/lib/XRay/CMakeLists.txt
  llvm/unittests/XRay/CMakeLists.txt
  llvm/unittests/XRay/FDRBlockVerifierTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51723.164163.patch
Type: text/x-patch
Size: 15321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180906/6f2a9a6c/attachment.bin>


More information about the llvm-commits mailing list