[PATCH] D16191: [tsan] Add TSan debugger APIs

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 03:24:27 PST 2016


kubabrecka added a comment.

> > Debugger integration and programmatic access to structured data (to avoid parsing of the text output) for various purposes (report post-processing, tracking, aggregation, ...).

>  Who and how is going to use this?


I'd like to use this in the same way AddressSanitizer reports are integrated into the debugger (LLDB), see http://reviews.llvm.org/D4466. The idea is to provide all the information in a TSan report via a structured API, so that LLDB can query it. The end goal might be to simply present this information in a GUI debugger (that uses LLDB) and/or to show all TSan-produced warnings in some user-friendly way - let's say a table with filtering options. I don't want to limit the options here, if someone wants to generate XML reports of TSan warnings, this should be possible. That's why I'm proposing a very generic API that provides almost all the report information.


http://reviews.llvm.org/D16191





More information about the llvm-commits mailing list