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

Peter Collingbourne peter at pcc.me.uk
Thu Dec 4 14:09:33 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;
----------------
Does `-fsanitize=function` work on MIPS? I'd imagine you'd need an implementation of `getUBSanFunctionSignature` for MIPS.

http://reviews.llvm.org/D6147






More information about the llvm-commits mailing list