[lld] [LLD][COFF] Do another pass of resolveRemainingUndefines for undefined lazy symbols (PR #109082)
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 02:15:25 PDT 2024
mstorsjo wrote:
> > One that contains an undefined reference to __imp_func. Two .s files that are assembled and stored in a static library. One containing a definition of func, and with an undefined reference to other, and the second static library object containing a definition of other.
>
> I think there needs to be a DLL involved for the lazy linking?
Hm, I don't think so? Isn't the lazy symbols just for static libraries, where we've seen symbols and know we can load them if needed, but don't do it unless triggered.
I may very well be wrong though - I guess you'll see what's needed to actually trigger the relevant cases.
https://github.com/llvm/llvm-project/pull/109082
More information about the llvm-commits
mailing list