grimar added a comment. So we could probably use replaceSymbol<Defined>, like we do in linkerscript to avoid the error, for script symbols coming from LTO, but does not feel right probably. https://reviews.llvm.org/D38239