[PATCH] [Clang] [AArch64] [DFSan] Adding support of AArch64 for DFSan
Kumar Sukhani
kumarsukhani at gmail.com
Sun May 10 10:51:05 PDT 2015
Hi kcc, pcc,
Enabling DFSan in Clang for AArch64
REPOSITORY
rL LLVM
http://reviews.llvm.org/D9651
Files:
lib/Driver/SanitizerArgs.cpp
Index: lib/Driver/SanitizerArgs.cpp
===================================================================
--- lib/Driver/SanitizerArgs.cpp
+++ lib/Driver/SanitizerArgs.cpp
@@ -137,10 +137,14 @@
bool IsX86_64 = TC.getTriple().getArch() == llvm::Triple::x86_64;
bool IsMIPS64 = TC.getTriple().getArch() == llvm::Triple::mips64 ||
TC.getTriple().getArch() == llvm::Triple::mips64el;
+ bool IsAArch64 = TC.getTriple().getArch() == llvm::Triple::aarch64;
uint64_t Unsupported = 0;
if (!(IsLinux && (IsX86_64 || IsMIPS64))) {
- Unsupported |= Memory | DataFlow;
+ Unsupported |= Memory;
+ }
+ if (!(IsLinux && (IsX86_64 || IsMIPS64 || IsAArch64))) {
+ Unsupported |= DataFlow;
}
if (!((IsLinux || IsFreeBSD) && (IsX86_64 || IsMIPS64))) {
Unsupported |= Thread;
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9651.25437.patch
Type: text/x-patch
Size: 809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150510/5020ac14/attachment.bin>
More information about the llvm-commits
mailing list