diff options
author | Dean Michael Berris <dberris@google.com> | 2017-06-19 01:30:04 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2017-06-19 01:30:04 +0000 |
commit | 043d3f868291d158f7e24a8a2d9f3ed629aa737b (patch) | |
tree | a1ead95fb1d3615e7780a66f731755c153500f15 /compiler-rt/include/xray | |
parent | 36b08b2088417e0ebd9dbfc6bd07956022650169 (diff) | |
download | bcm5719-llvm-043d3f868291d158f7e24a8a2d9f3ed629aa737b.tar.gz bcm5719-llvm-043d3f868291d158f7e24a8a2d9f3ed629aa737b.zip |
[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.
llvm-svn: 305658
Diffstat (limited to 'compiler-rt/include/xray')
-rw-r--r-- | compiler-rt/include/xray/xray_interface.h | 3 |
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. |