diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/CMakeLists.txt | 3 | ||||
-rw-r--r-- | include/xray/xray_log_interface.h | 9 |
2 files changed, 11 insertions, 1 deletions
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index 6104aded2..3d6c96be9 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt @@ -12,7 +12,8 @@ set(SANITIZER_HEADERS sanitizer/tsan_interface_atomic.h) set(XRAY_HEADERS - xray/xray_interface.h) + xray/xray_interface.h + xray/xray_log_interface.h) set(COMPILER_RT_HEADERS ${SANITIZER_HEADERS} diff --git a/include/xray/xray_log_interface.h b/include/xray/xray_log_interface.h index f98b33110..a8709c3a7 100644 --- a/include/xray/xray_log_interface.h +++ b/include/xray/xray_log_interface.h @@ -48,4 +48,13 @@ XRayLogFlushStatus __xray_log_flushLog(); } // extern "C" +namespace __xray { +// Options used by the LLVM XRay FDR implementation. +struct FDRLoggingOptions { + bool ReportErrors = false; + int Fd = -1; +}; + +} // namespace __xray + #endif // XRAY_XRAY_LOG_INTERFACE_H |