[WebAssembly] Revert r342701, "Add WebAssembly to LLVM_ALL_TARGTS."
authorDan Gohman <dan433584@gmail.com>
Fri, 21 Sep 2018 03:24:42 +0000 (03:24 +0000)
committerDan Gohman <dan433584@gmail.com>
Fri, 21 Sep 2018 03:24:42 +0000 (03:24 +0000)
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.

llvm-svn: 342707

llvm/CMakeLists.txt

index 3e7a9dd..22e22c8 100644 (file)
@@ -287,7 +287,6 @@ set(LLVM_ALL_TARGETS
   PowerPC
   Sparc
   SystemZ
-  WebAssembly
   X86
   XCore
   )