wasm-linker: Fix symbol name on undefined symbol

When emitting errors for undefined symbols, rather than
unconditionally always using the name from an import, we must verify
it's a symbol type that could have such an import. e.g. undefined
data symbols do not have a corresponding import. For this reason we
must use the regular name.
1072f82acbLuuk de Gram committed on 1/12/2023, 7:50:18 PMparent2339b25
1 file changedLine totals unavailable