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 | 12aa9554a6b5d5845181f5b634788706b8c4c3aa (patch) | |
tree | c850432074e710c0ee60b3bde9153dd7f3450948 /compiler-rt/include/xray | |
parent | 0cd7948876023b4f491492fd73ae704fec8521fa (diff) | |
download | bcm5719-llvm-12aa9554a6b5d5845181f5b634788706b8c4c3aa.tar.gz bcm5719-llvm-12aa9554a6b5d5845181f5b634788706b8c4c3aa.zip |
[XRay] Fix build with libc++ (NFC).
llvm-svn: 302962
Diffstat (limited to 'compiler-rt/include/xray')
-rw-r--r-- | compiler-rt/include/xray/xray_interface.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/compiler-rt/include/xray/xray_interface.h b/compiler-rt/include/xray/xray_interface.h index aea43517d13..c3833f0be35 100644 --- a/compiler-rt/include/xray/xray_interface.h +++ b/compiler-rt/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 |