Fixes PR40494
Details
Details
Diff Detail
Diff Detail
- Repository
- rLLD LLVM Linker
Event Timeline
wasm/Driver.cpp | ||
---|---|---|
314 | Yes, the LazySymbol might not be function at all. It might be a data symbol in which case it won't have a signature. |
Comment Actions
LGTM
wasm/Driver.cpp | ||
---|---|---|
314 | Ah, got it. I'd add a brief comment saying that if Sig is null, that means Sym was not a function. |
Is this the same as isa<FunctionSYmbol>(Sym) || isa<LazySymbol>(Sym)? Looks like Sig can be nullptr if Lazy, but I don't understand what's that case.