aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFImportFile.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-05-22 09:06:42 +0000
committerFangrui Song <maskray@google.com>2019-05-22 09:06:42 +0000
commitb72b091389f6027882c32f4181139cb6af56f9ea (patch)
tree1f668597bb6525c677e6f8dc61a02987e9b5509f /llvm/lib/Object/COFFImportFile.cpp
parent1d846e1a4d64fbf892f2a16d76a4300af679699b (diff)
downloadllvm-b72b091389f6027882c32f4181139cb6af56f9ea.zip
llvm-b72b091389f6027882c32f4181139cb6af56f9ea.tar.gz
llvm-b72b091389f6027882c32f4181139cb6af56f9ea.tar.bz2
[ELF] Improve error message for relocations to symbols defined in discarded 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
Diffstat (limited to 'llvm/lib/Object/COFFImportFile.cpp')
0 files changed, 0 insertions, 0 deletions