diff options
Diffstat (limited to 'compiler-rt/include/sanitizer/common_interface_defs.h')
-rw-r--r-- | compiler-rt/include/sanitizer/common_interface_defs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler-rt/include/sanitizer/common_interface_defs.h b/compiler-rt/include/sanitizer/common_interface_defs.h index f76462c68bd..1aa4f0b765f 100644 --- a/compiler-rt/include/sanitizer/common_interface_defs.h +++ b/compiler-rt/include/sanitizer/common_interface_defs.h @@ -53,4 +53,10 @@ typedef signed long long s64; // NOLINT } // namespace __sanitizer +extern "C" { + // Tell the tools to write their reports to "path.<pid>" instead of stderr. + void __sanitizer_set_report_path(const char *path) + SANITIZER_INTERFACE_ATTRIBUTE; +} // extern "C" + #endif // SANITIZER_COMMON_INTERFACE_DEFS_H |