From 1dcce6c92602ef5f2ba69f7f0a2ad7316754216b Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 21 Sep 2018 03:24:42 +0000 Subject: [PATCH] [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. llvm-svn: 342707 --- llvm/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index 3e7a9dd..22e22c8 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/CMakeLists.txt @@ -287,7 +287,6 @@ set(LLVM_ALL_TARGETS PowerPC Sparc SystemZ - WebAssembly X86 XCore ) -- 2.7.4