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.
Differential D139652
Add the thread sanitizer support for X86_64 WatchOS simulators yfyang on Dec 8 2022, 10:22 AM. Authored by
Details 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.
Diff Detail
Event TimelineComment Actions Thanks for the change. The description is a bit misleading, this would be better: 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. cc+=yln FYI, though this change seems obvious enough I'm comfortable to approve it directly. Comment Actions Thank you! LGTM, with one nit. @rsundahl: can you keep an eye on this and resolve any potential Apple-internal conflicts? Thanks!
|
Yes, for watchOS simulator. I think we can also drop the constraint on x86_64 and then merge the if. TSan should be supported for simulators on Apple Silicon. Can you add additional tests for these 3 cases? Thanks!