Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tsan: define all fields for all mappings
Define all fields to 0 for all mappings. This allows to write portable code and tests. For all existing cases 0 values work out of the box because we check if an address belongs to the range and nothing belongs to [0, 0] range. Depends on D107738. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D107739
- Loading branch information
Showing
2 changed files
with
50 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters