diff options
author | Bob Haarman <llvm@inglorion.net> | 2017-03-17 21:32:49 +0000 |
---|---|---|
committer | Bob Haarman <llvm@inglorion.net> | 2017-03-17 21:32:49 +0000 |
commit | f790f788b61cf8b0f15f9d95a23e474969c41c32 (patch) | |
tree | 11b679ffae86acde4bfc1aa206d5effbe97c0b34 /llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp | |
parent | f73c6c7e84d7b12dfdf291bff4fc7e79c45da8b0 (diff) | |
download | bcm5719-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