[PATCH] [MSan][Clang][MIPS] Enabled memory, dataflow and thread options for MIPS platform

Mohit Bhakkad mohit.bhakkad at imgtec.com
Fri Dec 5 01:12:23 PST 2014


================
Comment at: lib/Driver/SanitizerArgs.cpp:137
@@ -132,3 +136,3 @@
   }
-  if (!(IsLinux && (IsX86 || IsX86_64))) {
+  if (!(IsLinux && (IsX86 || IsX86_64 || IsMIPS32 || IsMIPS64))) {
     Unsupported |= Function;
----------------
pcc wrote:
> Does `-fsanitize=function` work on MIPS? I'd imagine you'd need an implementation of `getUBSanFunctionSignature` for MIPS.
@sagar is going to submit a patch which implements this

http://reviews.llvm.org/D6147






More information about the llvm-commits mailing list