tsan: fix active mapping selection
authorDmitry Vyukov <dvyukov@google.com>
Wed, 11 Aug 2021 10:39:38 +0000 (12:39 +0200)
committerDmitry Vyukov <dvyukov@google.com>
Wed, 11 Aug 2021 11:03:16 +0000 (13:03 +0200)
commit9af6156c5236829b602d9c522708f2f4f8f79573
treed1c8a42d38254293fcf9495f2343a9aa1f0850d3
parent9f517fd11ee9b9e49eabff7400cfe13b424e9b06
tsan: fix active mapping selection

Fix bug introduced by commit 5d106f16b972.
SANITIZER_IOSSIM is always defined,
it's the value 0/1 that's meaningful.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D107888
compiler-rt/lib/tsan/rtl/tsan_platform.h