Add the thread sanitizer support for X86_64 WatchOS simulators
authorYifan Yang <yfyang@google.com>
Fri, 9 Dec 2022 18:30:47 +0000 (13:30 -0500)
committerVy Nguyen <vyng@google.com>
Fri, 9 Dec 2022 18:32:56 +0000 (13:32 -0500)
commit0073fd8d0dda533a5acb1c237a37ad270d24b711
tree9bf3bbc060d44c695c4f4d02348efb753fb41d3d
parent41c96e94835df372ccdb6ad4df07b7bfaf257b51
Add the thread sanitizer support for X86_64 WatchOS simulators

Allow TSan in clang driver for X86_64 WatchOS simulator.

It was already functional, and Apple's downstream fork of clang allows it, but that change had not made it upstream yet.

Reviewed By: jyknight, yln

Differential Revision: https://reviews.llvm.org/D139652
clang/lib/Driver/ToolChains/Darwin.cpp
clang/test/Driver/fsanitize.c