[llvm] r342707 - [WebAssembly] Revert r342701, "Add WebAssembly to LLVM_ALL_TARGTS."

Dan Gohman via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 20 20:24:43 PDT 2018


Author: djg
Date: Thu Sep 20 20:24:42 2018
New Revision: 342707

URL: http://llvm.org/viewvc/llvm-project?rev=342707&view=rev
Log:
[WebAssembly] Revert r342701, "Add WebAssembly to LLVM_ALL_TARGTS."

There is a memory leak which is detected in some of the sanitizer builds.
MCSymbolWasm contains SmallVectors for holding signature information,
however MCContext doesn't run destructors for MCSymbols, so in cases
where the SmallVectors heap-allocate, the memory is leaked.

Modified:
    llvm/trunk/CMakeLists.txt

Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=342707&r1=342706&r2=342707&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Thu Sep 20 20:24:42 2018
@@ -287,7 +287,6 @@ set(LLVM_ALL_TARGETS
   PowerPC
   Sparc
   SystemZ
-  WebAssembly
   X86
   XCore
   )




More information about the llvm-commits mailing list