[PATCH] D50279: [WebAssembly] Don't error when --undefined symbols are not found

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 3 16:15:32 PDT 2018


ruiu added a comment.

In ELF, we took a different approach. What we did in the lld/ELF driver is this:

1. Add all symbols to the symbol table
2. For each symbol that is given by --undefined, look up the symbol table, and if it is a lazy symbol, fetch it.

I don't think there's particular reason to implement it in a different way, so could you do it that way?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D50279





More information about the llvm-commits mailing list