Revert "[tsan] Fix GCC 8.3 build after D107911"
authorMarco Elver <elver@google.com>
Tue, 17 Aug 2021 17:26:19 +0000 (19:26 +0200)
committerMarco Elver <elver@google.com>
Tue, 17 Aug 2021 17:26:20 +0000 (19:26 +0200)
commitf3b3c964c3a1d5072c2b489ec54c9a2ad5df3ddb
treef23b1be4237084aab7e2262930343899b5a4015b
parent70b06fe8a1862f5b9a0ef4e5e9098c1e457cf275
Revert "[tsan] Fix GCC 8.3 build after D107911"

This reverts commit 797fe59e6b9512652c0ae5a6b69a3c6f5a573fcd.

The use of "EventType type : 3" is replicated for all Event structs and
therefore was still present. As a result this still caused failures on
older GCCs (9.2 or 8.3 or earlier).

The particular bot that was failing due to buggy GCC was fixed by
fef39cc472a773fae4761deaab1c701024ad13ec.

Therefore, no reason to keep the workaround around; revert it.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D108192
compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
compiler-rt/lib/tsan/rtl/tsan_trace.h