[PATCH] D23800: [EfficiencySanitizer] [MIPS64] Enables esan clang driver options for MIPS64

Sagar Thakur via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 06:09:49 PDT 2016


slthakur created this revision.
slthakur added reviewers: aizatsky, bruening.
slthakur added subscribers: jaydeep, mohit.bhakkad, llvm-commits.
slthakur set the repository for this revision to rL LLVM.
slthakur added a project: Sanitizers.

Repository:
  rL LLVM

https://reviews.llvm.org/D23800

Files:
  lib/Driver/ToolChains.cpp

Index: lib/Driver/ToolChains.cpp
===================================================================
--- lib/Driver/ToolChains.cpp
+++ lib/Driver/ToolChains.cpp
@@ -4724,7 +4724,7 @@
     Res |= SanitizerKind::Thread;
   if (IsX86_64 || IsMIPS64 || IsPowerPC64 || IsAArch64)
     Res |= SanitizerKind::Memory;
-  if (IsX86_64)
+  if (IsX86_64 || IsMIPS64)
     Res |= SanitizerKind::Efficiency;
   if (IsX86 || IsX86_64) {
     Res |= SanitizerKind::Function;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23800.68977.patch
Type: text/x-patch
Size: 460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160823/de75db3e/attachment.bin>


More information about the llvm-commits mailing list