summaryrefslogtreecommitdiff
path: root/compiler-rt/include
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2017-06-19 01:30:04 +0000
committerDean Michael Berris <dberris@google.com>2017-06-19 01:30:04 +0000
commit2c6275b673ddfbe15864a02ae7139d08adf873f9 (patch)
tree8a0f37599e837d6e4d8ac09c6218760e56626e09 /compiler-rt/include
parentbeec062d8cdaaa34e095767579c5b339bb691963 (diff)
[XRay][compiler-rt][NFC] Add a name for argument to __xray_set_handler_arg1(...)
Just makes the interface consistent with the other functions in include/xray/xray_interface.h.
Diffstat (limited to 'compiler-rt/include')
-rw-r--r--compiler-rt/include/xray/xray_interface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/include/xray/xray_interface.h b/compiler-rt/include/xray/xray_interface.h
index dc0c277aa84..56461341706 100644
--- a/compiler-rt/include/xray/xray_interface.h
+++ b/compiler-rt/include/xray/xray_interface.h
@@ -60,7 +60,8 @@ extern int __xray_remove_handler();
/// start logging their subsequent affected function calls (if patched).
///
/// Returns 1 on success, 0 on error.
-extern int __xray_set_handler_arg1(void (*)(int32_t, XRayEntryType, uint64_t));
+extern int __xray_set_handler_arg1(void (*entry)(int32_t, XRayEntryType,
+ uint64_t));
/// Disables the XRay handler used to log first arguments of function calls.
/// Returns 1 on success, 0 on error.