[PATCH] D13109: [sanitizer] Enable lsan for AArch64

Adhemerval Zanella via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 23 10:24:32 PDT 2015


zatrazz created this revision.
zatrazz added reviewers: rengolin, pcc, aemerson, t.p.northover.
zatrazz added a subscriber: cfe-commits.
Herald added subscribers: rengolin, aemerson.

compiler-rt related patch: http://reviews.llvm.org/D13108

http://reviews.llvm.org/D13109

Files:
  lib/Driver/ToolChains.cpp

Index: lib/Driver/ToolChains.cpp
===================================================================
--- lib/Driver/ToolChains.cpp
+++ lib/Driver/ToolChains.cpp
@@ -3760,7 +3760,7 @@
   Res |= SanitizerKind::Vptr;
   if (IsX86_64 || IsMIPS64 || IsAArch64)
     Res |= SanitizerKind::DataFlow;
-  if (IsX86_64 || IsMIPS64)
+  if (IsX86_64 || IsMIPS64 || IsAArch64)
     Res |= SanitizerKind::Leak;
   if (IsX86_64 || IsMIPS64 || IsAArch64)
     Res |= SanitizerKind::Thread;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13109.35526.patch
Type: text/x-patch
Size: 474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150923/1f2cd9f9/attachment.bin>


More information about the cfe-commits mailing list