Konstantin, this is exactly the sort of thing I'm looking for. Thanks.
One more question related to the __sanitizer_report_error_summary
approach. This may be more of a C/C++ question than a TSAN question.
The state that I'd like to print out as part of the error summary are
private members of objects of particular class. That is, they are not
globally scoped / named / accessible. Could you offer any suggestions
to allowing __sanitizer_report_error_summary to get access to the
private state of the actual object that's exhibiting the race
condition? I could probably hack something together, but I'm asking as
there may be a recommended approach here.
The TSAN_OPTIONS=halt_on_error=1:abort_on_error=1 should work well,
although I'd like to also add in some extra information using the
__sanitizer_report_error_summary approach as well.
Thank you.
>> email to
thread-sanitiz...@googlegroups.com.
> --
> You received this message because you are subscribed to the Google Groups
> "thread-sanitizer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
thread-sanitiz...@googlegroups.com.