From af46bb333e568ca5c737a1e6d058e1d06f9a29a9 Mon Sep 17 00:00:00 2001 From: Martin Pelikan Date: Thu, 28 Sep 2017 05:29:59 +0000 Subject: [XRay] [compiler-rt] FDR logging arg1 handler Summary: Write out records about logged function call first arguments. D32840 implements the reading of this in llvm-xray. Reviewers: dberris Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32844 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@314378 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/xray/xray_log_interface.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/xray/xray_log_interface.h b/include/xray/xray_log_interface.h index cdb20094d..7be9a4a6f 100644 --- a/include/xray/xray_log_interface.h +++ b/include/xray/xray_log_interface.h @@ -159,6 +159,9 @@ struct XRayLogImpl { /// always have a handler for function entry and exit events. In case the /// implementation wants to support arg1 (or other future extensions to XRay /// logging) those MUST be installed by the installed 'log_init' handler. + /// + /// Because we didn't want to change the ABI of this struct, the arg1 handler + /// may be silently overwritten during initialization as well. void (*handle_arg0)(int32_t, XRayEntryType); /// The log implementation provided routine for when __xray_log_flushLog() is -- cgit v1.2.3