tsan: enable sse4.2 in tests
authorDmitry Vyukov <dvyukov@google.com>
Tue, 21 Sep 2021 19:17:28 +0000 (21:17 +0200)
committerDmitry Vyukov <dvyukov@google.com>
Wed, 22 Sep 2021 05:13:47 +0000 (07:13 +0200)
commit41f8ef3e3183145a49366bb4cc639dd13664d0c6
tree48193d8b6f0bc4626d92131930970703b6f225e2
parentcf93f7677de3cde9a1166d23eafddd27536c8b25
tsan: enable sse4.2 in tests

Pass -msse4.2 flag to the tests the same way we do for the runtime.
Layout of some structs in the runtime headers depends on the flag
(TSAN_VECTORIZE), so we need it to be consistent across the runtime
and tests.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D110192
compiler-rt/lib/tsan/tests/CMakeLists.txt