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 | 2e9cd5693fb47ba0c8a2e6b6a0d3296bebbb1cec (patch) | |
| tree | 5bb30dd1004e306d2245437e547ab49432609226 /compiler-rt/include/xray | |
| parent | 6571b3edd08261a4f440b21ef1e7a345192194f7 (diff) | |
| download | bcm5719-llvm-2e9cd5693fb47ba0c8a2e6b6a0d3296bebbb1cec.tar.gz bcm5719-llvm-2e9cd5693fb47ba0c8a2e6b6a0d3296bebbb1cec.zip | |
[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
llvm-svn: 314378
Diffstat (limited to 'compiler-rt/include/xray')
| -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 |

