lld crashes in this case, while ld/gold emit warning message.
Details
Details
Diff Detail
Diff Detail
Event Timeline
ELF/Symbols.cpp | ||
---|---|---|
64 | symbol name is typically nothing more than '.section + addend'. |
Comment Actions
LGTM
ELF/Symbols.cpp | ||
---|---|---|
64 | Ah, right. Since this is an error path, maybe this should suffice. warn(SC->getFile()->getName() + ": relocation refers to discarded section"); |
Please include a filename and symbol name in the error message.