[PATCH] D38550: [XRay][tools] Support arg1 logging entries in the basic logging mode

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 4 10:03:25 PDT 2017


dberris created this revision.

The arg1 logging handler changed in compiler-rt to start writing a
different type for entries encountered when logging the first argument
of XRay-instrumented functions. This change allows the trace loader to
support reading these record types as well as prepare for when the
basic (naive) mode implementation starts writing down the argument
payloads.

Without this change, binaries with arg1 logging support enabled start
writing unreadable logs for any of the XRay tracing tools.


https://reviews.llvm.org/D38550

Files:
  lib/XRay/Trace.cpp
  test/tools/llvm-xray/X86/Inputs/naive-with-arg1-entries.xray
  test/tools/llvm-xray/X86/convert-basic-arg1-to-yaml.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38550.117691.patch
Type: text/x-patch
Size: 8499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171004/1a341477/attachment-0001.bin>


More information about the llvm-commits mailing list