diff options
author | Eugene Zelenko <eugene.zelenko@gmail.com> | 2017-05-12 22:26:42 +0000 |
---|---|---|
committer | Eugene Zelenko <eugene.zelenko@gmail.com> | 2017-05-12 22:26:42 +0000 |
commit | e380523e9bd4a7869ff782048fb6a12959ca4513 (patch) | |
tree | b5b001a17230705d8582690866f8ce784114d9fd /include | |
parent | d6fba16de31942928c75edadba648c84b552040d (diff) |
[XRay] Fix build with libc++ (NFC).
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@302962 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/xray/xray_interface.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/xray/xray_interface.h b/include/xray/xray_interface.h index aea43517d..c3833f0be 100644 --- a/include/xray/xray_interface.h +++ b/include/xray/xray_interface.h @@ -1,4 +1,4 @@ -//===-- xray_interface.h ----------------------------------------*- C++ -*-===// +//===- xray_interface.h -----------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -11,11 +11,12 @@ // // APIs for controlling XRay functionality explicitly. //===----------------------------------------------------------------------===// + #ifndef XRAY_XRAY_INTERFACE_H #define XRAY_XRAY_INTERFACE_H +#include <cstddef> #include <cstdint> -#include <stddef.h> extern "C" { @@ -100,6 +101,6 @@ extern uintptr_t __xray_function_address(int32_t FuncId); /// encounter errors (when there are no instrumented functions, etc.). extern size_t __xray_max_function_id(); -} +} // end extern "C" -#endif +#endif // XRAY_XRAY_INTERFACE_H |