[PATCH] D54022: [XRay] Update delta computations in runtime

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 1 21:45:50 PDT 2018


dberris created this revision.
dberris added a reviewer: mboerger.
Herald added a subscriber: hiraditya.

Fix some issues discovered from mostly manual inspection of outputs from
the `llvm-xray fdr-dump` tool.

It turns out we haven't been writing the deltas properly, and have been
writing down zeros for deltas of some records. This change fixes this
oversight born by the recent refactoring.


https://reviews.llvm.org/D54022

Files:
  compiler-rt/lib/xray/tests/unit/fdr_controller_test.cc
  compiler-rt/lib/xray/xray_fdr_controller.h
  llvm/lib/XRay/RecordPrinter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54022.172303.patch
Type: text/x-patch
Size: 5161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181102/4e4c582d/attachment.bin>


More information about the llvm-commits mailing list