summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-06-25 09:55:55 +0000
committerNico Weber <nicolasweber@gmx.de>2019-06-25 09:55:55 +0000
commit0142b9ce318ab94295d7fe4764eadaeab84cacb5 (patch)
tree06e7be3e76acee7f8c1091325ccf039bb6f70e1c /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent79f7831aa715b038ac820170d625e856afb75955 (diff)
downloadbcm5719-llvm-0142b9ce318ab94295d7fe4764eadaeab84cacb5.tar.gz
bcm5719-llvm-0142b9ce318ab94295d7fe4764eadaeab84cacb5.zip
Port r363962 to COFF: Deduplicate undefined symbol diagnostics
lld/coff already deduplicated undefined symbols on a TU level: It would group all references to a symbol from a single TU. This makes it so that references from all TUs to a single symbol are grouped together. Since lld/coff almost did what I thought it did already, the patch is much smaller than the elf version. The only not local change is that getSymbolLocations() now returns a vector<string> instead of a string, so that the undefined symbol reporting code can know how many references to a symbol exist in a given TU. Fixes PR42260 for lld/coff. Differential Revision: https://reviews.llvm.org/D63646 llvm-svn: 364285
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud