[lld][WebAssembly] Use a more meaningful name for stub functions
authorSam Clegg <sbc@chromium.org>
Thu, 16 Jan 2020 22:36:44 +0000 (14:36 -0800)
committerSam Clegg <sbc@chromium.org>
Thu, 16 Jan 2020 22:55:37 +0000 (14:55 -0800)
commit51b521c07a7a784d087d6a4c176b132cc4e36db7
tree8270937b04c1c310a925a33eb0cb5ba11e367575
parent9050d0fb593c60628f47caa122c01ea1dc7a1bf5
[lld][WebAssembly] Use a more meaningful name for stub functions

When we generate these stub functions on signature mismatches give
them a more meaningful name so that when people see this in stack
traces is gives a clue as the what is going on.

See: https://github.com/emscripten-core/emscripten/issues/10226

Differential Revision: https://reviews.llvm.org/D72881
lld/test/wasm/signature-mismatch-export.ll
lld/test/wasm/signature-mismatch.ll
lld/wasm/SymbolTable.cpp