4 Commits

Author SHA1 Message Date
Chris Apple
8f8d5f005a
[rtsan] Add statistics for suppression count (#112718) 2024-10-17 10:02:08 -07:00
Chris Apple
9e06e772a1
[rtsan] Add stats summary even when halt_on_error=true (#110165) 2024-10-07 14:26:09 -07:00
Chris Apple
f5b95db4c3
[rtsan] Only print out unique stack traces (#110028)
# Why?

In real-time programming, you often have a process or dispatch loop that
is called many, many, many times. Without de-duplication the user will
be drowning in errors.

Introduce a way to only print the stacks one time only, if they have
been seen before
2024-09-26 10:53:37 -07:00
Chris Apple
c3334dad73
[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
```
2024-09-25 11:59:11 -07:00