projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cbb289
)
[PPC64, TSAN] Enable thread sanitizer for PPC64
author
Bill Schmidt
<wschmidt@linux.vnet.ibm.com>
Tue, 8 Dec 2015 22:48:02 +0000
(22:48 +0000)
committer
Bill Schmidt
<wschmidt@linux.vnet.ibm.com>
Tue, 8 Dec 2015 22:48:02 +0000
(22:48 +0000)
Patch by Simone Atzeni.
This enables the -fsanitize=thread flag for PPC64 and PPC64LE.
llvm-svn: 255067
clang/lib/Driver/ToolChains.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Driver/ToolChains.cpp
b/clang/lib/Driver/ToolChains.cpp
index
c5b8c79
..
ce0f2bd
100644
(file)
--- a/
clang/lib/Driver/ToolChains.cpp
+++ b/
clang/lib/Driver/ToolChains.cpp
@@
-4169,7
+4169,7
@@
SanitizerMask Linux::getSupportedSanitizers() const {
Res |= SanitizerKind::DataFlow;
if (IsX86_64 || IsMIPS64 || IsAArch64)
Res |= SanitizerKind::Leak;
- if (IsX86_64 || IsMIPS64 || IsAArch64)
+ if (IsX86_64 || IsMIPS64 || IsAArch64
|| IsPowerPC64
)
Res |= SanitizerKind::Thread;
if (IsX86_64 || IsMIPS64 || IsPowerPC64 || IsAArch64)
Res |= SanitizerKind::Memory;