aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageViewText.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2016-09-08 21:06:29 +0000
committerEd Maste <emaste@freebsd.org>2016-09-08 21:06:29 +0000
commite349b6da2c19e847c4e7256b01edc50853337085 (patch)
treeb6908a3043cf28e1389fbb6b0d432ed8a03abb69 /llvm/tools/llvm-cov/SourceCoverageViewText.cpp
parent0fbd53434d12bec52a01703218e4a1950911fe1d (diff)
downloadllvm-e349b6da2c19e847c4e7256b01edc50853337085.zip
llvm-e349b6da2c19e847c4e7256b01edc50853337085.tar.gz
llvm-e349b6da2c19e847c4e7256b01edc50853337085.tar.bz2
ELF: clarify error when we don't know the output format
lld differs from GNU ld in that it does not have a built-in default target emulation. Emulation is always specified via the -m option, or obtained from the object file(s) being linked. In most cases at least one ELF object is included in the link, so the emulation is known. When using lld's (not yet committed) -b binary support with -r, to convert a binary file into an ELF object we do not have a known emulation. The error message previously emitted in this case "-m or at least a .o file required" is accurate but does not offer much insight. Add text to the error message to give a hint why -m or an object file is required. Differential Revision: https://reviews.llvm.org/D24348 llvm-svn: 280989
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewText.cpp')
0 files changed, 0 insertions, 0 deletions