[PATCH] D62830: [WebAssembly] Support Leak Sanitizer on Emscripten

Thomas Lively via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 5 18:37:36 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL362667: [WebAssembly] Support Leak Sanitizer on Emscripten (authored by tlively, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D62830?vs=202817&id=203273#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62830/new/

https://reviews.llvm.org/D62830

Files:
  cfe/trunk/lib/Driver/ToolChains/WebAssembly.cpp


Index: cfe/trunk/lib/Driver/ToolChains/WebAssembly.cpp
===================================================================
--- cfe/trunk/lib/Driver/ToolChains/WebAssembly.cpp
+++ cfe/trunk/lib/Driver/ToolChains/WebAssembly.cpp
@@ -211,7 +211,7 @@
 SanitizerMask WebAssembly::getSupportedSanitizers() const {
   SanitizerMask Res = ToolChain::getSupportedSanitizers();
   if (getTriple().isOSEmscripten()) {
-    Res |= SanitizerKind::Vptr;
+    Res |= SanitizerKind::Vptr | SanitizerKind::Leak;
   }
   return Res;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62830.203273.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190606/e091c5ec/attachment.bin>


More information about the cfe-commits mailing list