HomePhabricator

tsan: fix warnings in tests

Authored by dvyukov on Apr 27 2021, 11:36 PM.

Description

tsan: fix warnings in tests

Fix format specifier.
Fix warnings about non-standard attribute placement.
Make free_race2.c test a bit more interesting:
test access with/without an offset.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D101424

Details

Committed
dvyukovApr 28 2021, 10:42 PM
Reviewer
vitalybuka
Differential Revision
D101424: tsan: fix warnings in tests
Parents
rG60c60dd13877: [ASAN] NFC: Use addrspace cast for pointers in non-zero addrspace
Branches
Unknown
Tags
Unknown