summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
diff options
context:
space:
mode:
authorBob Haarman <llvm@inglorion.net>2017-03-17 21:32:49 +0000
committerBob Haarman <llvm@inglorion.net>2017-03-17 21:32:49 +0000
commitf790f788b61cf8b0f15f9d95a23e474969c41c32 (patch)
tree11b679ffae86acde4bfc1aa206d5effbe97c0b34 /llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
parentf73c6c7e84d7b12dfdf291bff4fc7e79c45da8b0 (diff)
downloadbcm5719-llvm-f790f788b61cf8b0f15f9d95a23e474969c41c32.tar.gz
bcm5719-llvm-f790f788b61cf8b0f15f9d95a23e474969c41c32.zip
recommend using llvm-ar when finding undefined references and empty archives
Summary: When we perform LTO builds with a version of ar that does not understand LLVM bitcode objects, we end up with undefined references, because our archive files do not list the bitcode symbols in their indices. The error messages do not make it clear what the real problem is. This change adds a note that points out the likely problem and solution. It is similar in spirit to r282633, but aims to avoid false positives by only triggering when we see both undefined references and archives without symbols in their indices. Fixes PR32281. Reviewers: davide, ruiu, tejohnson Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D31011 llvm-svn: 298124
Diffstat (limited to 'llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud