summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/exclude-discarded-error2.s
Commit message (Collapse)AuthorAgeFilesLines
* [ELF] Improve error message for relocations to symbols defined in discarded ↵Fangrui Song2019-05-221-0/+14
sections Rather than report "undefined symbol: ", give more informative message about the object file that defines the discarded section. In particular, PR41133, if the section is a discarded COMDAT, print the section group signature and the object file with the prevailing definition. This is useful to track down some ODR issues. We need to * add `uint32_t DiscardedSecIdx` to Undefined for this feature. * make ComdatGroups public and change its type to DenseMap<CachedHashStringRef, const InputFile *> Reviewed By: ruiu Differential Revision: https://reviews.llvm.org/D59649 llvm-svn: 361359
OpenPOWER on IntegriCloud