[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)
commit1dcce6c92602ef5f2ba69f7f0a2ad7316754216b
tree62a798c242ce6b206f0ee04224817ce3bb2b3a23
parent92a05bfbf03d5fa11d4003c755875e81ec4cdbcc
[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