[compiler-rt] [rtsan] Add exit statistics (PR #109885)
Chris Apple via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 17:17:38 PDT 2024
================
@@ -62,6 +69,9 @@ SANITIZER_INTERFACE_ATTRIBUTE void __rtsan_init() {
InitializeFlags();
InitializeInterceptors();
+ if (flags().print_stats_on_exit)
+ Atexit(RtsanAtexit);
----------------
cjappl wrote:
Here we install our atexit handler, which may be nice for other uses later on
https://github.com/llvm/llvm-project/pull/109885
More information about the llvm-commits
mailing list