[PATCH] D41113: [LLVMgold] Don't set resolutions for undefined symbols to 'Prevailing'

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 10:55:23 PST 2017


pcc added a comment.

In https://reviews.llvm.org/D41113#954158, @evgeny777 wrote:

> @pcc What about case when assertion is triggered in llvm-lto2 (symbol resolutions are set manually with -r=...) ? How to deal with it?


In that case, the user of the llvm-lto2 tool has made a mistake. If we wanted, we could add a check to llvm-lto2 that the user does not mark more than one copy of a symbol as prevailing.


https://reviews.llvm.org/D41113





More information about the llvm-commits mailing list