summaryrefslogtreecommitdiff
path: root/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
commit028649d48d70b36ab6226c81cba4e76936ca9bd1 (patch)
tree6862eccd66d263463220a9cfebb5b63f98a3b9a6 /include
parentf0d7258f4a2f5e6443011f7be011b5e9999c33f2 (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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@305658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/xray/xray_interface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xray/xray_interface.h b/include/xray/xray_interface.h
index dc0c277aa..564613417 100644
--- a/include/xray/xray_interface.h
+++ b/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.