Skip to content

Commit 11d0084

Browse files
committed
Make the TSan report capture data structure anonymous.
This was using `struct data` which is way to common a name to use in an lldb expression, and was causing occasional failures in the TSan report gatherer. The structure doesn't need to have a tag, so remove it to avoid future problems. The same job was done for the other sanitizers in D145569, but this one was overlooked. Differential Revision: https://reviews.llvm.org/D149394 (cherry picked from commit 47f72ae)
1 parent d0900fa commit 11d0084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const char *thread_sanitizer_retrieve_report_data_command = R"(
9595
const int REPORT_TRACE_SIZE = 128;
9696
const int REPORT_ARRAY_SIZE = 4;
9797
98-
struct data {
98+
struct {
9999
void *report;
100100
const char *description;
101101
int report_count;

0 commit comments

Comments
 (0)