Function symbols that come from bitcode have not signatures.
After LTO when the real symbols are read in we need to make
sure that we set the signature on the existing symbol.
the signature-less undefined functions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rLLD LLVM Linker
Event Timeline
wasm/Driver.cpp | ||
---|---|---|
260–262 | I don't think it will crash here without some sort of sanitizer. Saving a reference in Sig doesn't load from the pointer. |
Do you need this assert? I think if it is a nullptr, it will crash immediately on the next line, so that assert() doesn't seem that useful.