]> granicus.if.org Git - clang/commit
[tsan] Allow -fsanitize=thread for iOS-style simulator targets
authorDevin Coughlin <dcoughlin@apple.com>
Sun, 20 Mar 2016 18:24:33 +0000 (18:24 +0000)
committerDevin Coughlin <dcoughlin@apple.com>
Sun, 20 Mar 2016 18:24:33 +0000 (18:24 +0000)
commitd56a254584f739e855149bad5d85b87c70a46732
treeb2f2e59ddca35fb8369a1e909975c9305c0a0c32
parent26d94682bce93b81ae375874df73881438b8dfd8
[tsan] Allow -fsanitize=thread for iOS-style simulator targets

Update the clang driver to allow -fsanitize=thread when targeting x86_64 iOS and tvOS
simulators. Also restrict TSan targeting OS X to only be supported on x86_64 and not i386.

Differential Revision: http://reviews.llvm.org/D18280

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263913 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp
test/Driver/fsanitize.c