[PATCH] D44028: [WebAssembly] Handle weak undefined functions with a synthetic stub
Nicholas Wilson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 9 09:13:54 PST 2018
ncw added a comment.
I hope this is OK, but when I committed I made one additional change, that I think makes sense.
Rather than being stingy and emitting one stub per type, I'm now emitting one per function - the stubs are very small, and the advantage is that you'll now get a nice stack trace if these things ever should be called (since they can be named sensibly, to indicate which function was missing).
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D44028
More information about the llvm-commits
mailing list