diff options
author | Sam Clegg <sbc@chromium.org> | 2020-01-13 15:13:31 -0800 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2020-01-17 09:30:55 -0800 |
commit | ab974161ba699534f3e30b1f4b036eec9c33053c (patch) | |
tree | 0a0ec375867643fa91f512afa9dd7ba39c0b3245 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 0bcfafc5e71d4f636d456317a3a2e6fd903d4755 (diff) | |
download | llvm-ab974161ba699534f3e30b1f4b036eec9c33053c.zip llvm-ab974161ba699534f3e30b1f4b036eec9c33053c.tar.gz llvm-ab974161ba699534f3e30b1f4b036eec9c33053c.tar.bz2 |
[llvm-nm] Don't report "no symbols" error for files that contain symbols
Previously we were reporting this error if we were list no symbols
which is not the same thing as the file containing no symbols.
Also, always report the filename when printing errors.
This matches the GNU nm behaviour.
This a followup to https://reviews.llvm.org/D52810
Differential Revision: https://reviews.llvm.org/D72658
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions