[all-commits] [llvm/llvm-project] c3334d: [rtsan] Add exit statistics (#109885)

Chris Apple via All-commits all-commits at lists.llvm.org
Wed Sep 25 11:59:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3334dad732e3a3a53e57c028bdb337766e01598
      https://github.com/llvm/llvm-project/commit/c3334dad732e3a3a53e57c028bdb337766e01598
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-09-25 (Wed, 25 Sep 2024)

  Changed paths:
    M compiler-rt/lib/rtsan/CMakeLists.txt
    M compiler-rt/lib/rtsan/rtsan.cpp
    M compiler-rt/lib/rtsan/rtsan_flags.inc
    A compiler-rt/lib/rtsan/rtsan_stats.cpp
    A compiler-rt/lib/rtsan/rtsan_stats.h
    A compiler-rt/test/rtsan/exit_stats.cpp

  Log Message:
  -----------
  [rtsan] Add exit statistics (#109885)

adds the flag `print_stats_on_exit` which mirrors nsan's same flag.

# Why?

Not only is this nice for the end users, this gives us a very trivial
way to test deduplication which is next up

Currently the style is something like:

```
RealtimeSanitizer exit stats:
    Total error count: 488
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list