r230209 - [TSan][Clang][MIPS] Enabled thread option for MIPS64 platform
Mohit K. Bhakkad
mohit.bhakkad at imgtec.com
Mon Feb 23 01:32:35 PST 2015
Author: mohit.bhakkad
Date: Mon Feb 23 03:32:35 2015
New Revision: 230209
URL: http://llvm.org/viewvc/llvm-project?rev=230209&view=rev
Log:
[TSan][Clang][MIPS] Enabled thread option for MIPS64 platform
Reviewers: kcc, samsonov, petarj, eugenis
Differential Revision: http://reviews.llvm.org/D6147
Modified:
cfe/trunk/lib/Driver/SanitizerArgs.cpp
Modified: cfe/trunk/lib/Driver/SanitizerArgs.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/SanitizerArgs.cpp?rev=230209&r1=230208&r2=230209&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/SanitizerArgs.cpp (original)
+++ cfe/trunk/lib/Driver/SanitizerArgs.cpp Mon Feb 23 03:32:35 2015
@@ -128,7 +128,7 @@ static unsigned getToolchainUnsupportedK
if (!(IsLinux && (IsX86_64 || IsMIPS64))) {
Unsupported |= Memory | DataFlow;
}
- if (!((IsLinux || IsFreeBSD) && IsX86_64)) {
+ if (!((IsLinux || IsFreeBSD) && (IsX86_64 || IsMIPS64))) {
Unsupported |= Thread;
}
if (!(IsLinux && (IsX86 || IsX86_64))) {
More information about the cfe-commits
mailing list