[PATCH] D29703: [XRay] [compiler-rt] Allow logging the first argument of a function call.

Martin Pelikán via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 21:46:08 PST 2017


pelikan created this revision.
Herald added a reviewer: javed.absar.

Functions with the LOG_ARGS_ENTRY sled kind at their beginning will be handled
in a way to (optionally) pass their first call argument to your logging handler.

For practical and performance reasons, only the first argument is supported, and
only up to 64 bits.


https://reviews.llvm.org/D29703

Files:
  include/xray/xray_interface.h
  lib/xray/xray_AArch64.cc
  lib/xray/xray_arm.cc
  lib/xray/xray_fdr_logging.cc
  lib/xray/xray_interface.cc
  lib/xray/xray_interface_internal.h
  lib/xray/xray_trampoline_x86_64.S
  lib/xray/xray_x86_64.cc
  test/xray/TestCases/Linux/arg1-logger.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29703.87590.patch
Type: text/x-patch
Size: 10879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170208/36389e88/attachment.bin>


More information about the llvm-commits mailing list