MCContext does not destroy MCSymbols on shutdown. So, rather than putting SmallVectors (which may heap-allocate) inside MCSymbolWasm, use unowned pointer to a WasmSignature instead. The signatures are now owned by the AsmPrinter. Also uses WasmSignature instead of param and result vectors in TargetStreamer, and leaves some TODOs for further simplification. Differential Revision: https://reviews.llvm.org/D52580 llvm-svn: 343733  | 
			||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| LLVMBuild.txt | ||
| WebAssemblyAsmBackend.cpp | ||
| WebAssemblyFixupKinds.h | ||
| WebAssemblyMCAsmInfo.cpp | ||
| WebAssemblyMCAsmInfo.h | ||
| WebAssemblyMCCodeEmitter.cpp | ||
| WebAssemblyMCTargetDesc.cpp | ||
| WebAssemblyMCTargetDesc.h | ||
| WebAssemblyTargetStreamer.cpp | ||
| WebAssemblyTargetStreamer.h | ||
| WebAssemblyWasmObjectWriter.cpp | ||