The InstrumentationRuntime's defined a data structure to gather report data, and repeated the pattern of defining it like:
struct data {
};
data t = {0};
That causes conflicts against other types called data, and could cause the expression not to compile. Michael fixed this for some of the sanitizers in:
https://reviews.llvm.org/D145569
but neglected to do it for the thread sanitizer.
This patch adds the fix to that sanitizer.