From 99ea5e489fa5765bf0eb50ca4261ab5cc20abeeb Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 22 May 2017 19:43:56 +0000 Subject: Vendor import of compiler-rt trunk r303571: https://llvm.org/svn/llvm-project/compiler-rt/trunk@303571 --- include/xray/xray_interface.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/xray/xray_interface.h b/include/xray/xray_interface.h index c3833f0be357..dc0c277aa841 100644 --- a/include/xray/xray_interface.h +++ b/include/xray/xray_interface.h @@ -69,6 +69,10 @@ extern int __xray_remove_handler_arg1(); /// Provide a function to invoke when XRay encounters a custom event. extern int __xray_set_customevent_handler(void (*entry)(void*, std::size_t)); +/// This removes whatever the currently provided custom event handler is. +/// Returns 1 on success, 0 on error. +extern int __xray_remove_customevent_handler(); + enum XRayPatchingStatus { NOT_INITIALIZED = 0, SUCCESS = 1, -- cgit v1.2.3