diff options
author | Martin Pelikan <martin.pelikan@gmail.com> | 2017-09-28 05:29:59 +0000 |
---|---|---|
committer | Martin Pelikan <martin.pelikan@gmail.com> | 2017-09-28 05:29:59 +0000 |
commit | e658e6638642163e53af22175633f3025e8dfae0 (patch) | |
tree | 5bf0575cdd17b8a49908e38e57e57a842c8b3c45 /compiler-rt/include | |
parent | bb75fbabe338816fd0c61f11e3d69e5fa93f244f (diff) |
[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
Diffstat (limited to 'compiler-rt/include')
-rw-r--r-- | compiler-rt/include/xray/xray_log_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/include/xray/xray_log_interface.h b/compiler-rt/include/xray/xray_log_interface.h index cdb20094dc2..7be9a4a6f42 100644 --- a/compiler-rt/include/xray/xray_log_interface.h +++ b/compiler-rt/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 |