COMPILER_RT_TSAN_DEBUG_OUTPUT enables TSAN_COLLECT_STATS,
which changes layout of runtime structs (some structs contain
stats when the option is enabled).
It's not OK to build runtime with the define, but tests without it.
The error is detected by build_consistency_stats/nostats.
Fix this by defining TSAN_COLLECT_STATS for tests to match the runtime.
Details
Details
- Reviewers
vitalybuka - Commits
- rGf69853ac40ba: tsan: fix build with COMPILER_RT_TSAN_DEBUG_OUTPUT
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo