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 | ||
| Error.cpp | ||
| Error.h | ||
| coff2yaml.cpp | ||
| dwarf2yaml.cpp | ||
| elf2yaml.cpp | ||
| macho2yaml.cpp | ||
| obj2yaml.cpp | ||
| obj2yaml.h | ||
| wasm2yaml.cpp | ||