These stub new function were not being added to the symbol table
which in turn meant that we were crashing when trying to output
relocations against them.
Fixes: PR45645
Differential D78779
[lld][WebAssembly] Fix crash on function signature mismatch with --relocatable Authored by sbc100 on Apr 23 2020, 6:17 PM.
Details These stub new function were not being added to the symbol table Fixes: PR45645
Diff Detail
Event Timeline
| ||||||||||||
I'm not very familiar with this part of code. Does making the symbols local here prevent this from being emitted in the output object file? Why not sym->getName() bug debugName now?