diff options
author | Rui Ueyama <ruiu@google.com> | 2017-05-10 16:57:50 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-05-10 16:57:50 +0000 |
commit | 896cbc40adbe9e6e7bff089e91de9e9a76fbeaf8 (patch) | |
tree | 8e8211ef808e5f25fddb1dac92e7c1b0938d6eb2 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 4cd7a15ceabf8648e00a1b844b723a8dd68142b2 (diff) | |
download | llvm-896cbc40adbe9e6e7bff089e91de9e9a76fbeaf8.zip llvm-896cbc40adbe9e6e7bff089e91de9e9a76fbeaf8.tar.gz llvm-896cbc40adbe9e6e7bff089e91de9e9a76fbeaf8.tar.bz2 |
[ELF] Improve error message for incompatible section types
Previously we were not printing out the type of the incompatible section
which made it difficult to determine what the problem was.
The error message format has been change to the following:
error: section type mismatch for .shstrtab
>>> <internal>:(.shstrtab): SHT_STRTAB
>>> output section .shstrtab: Unknown
Patch by Alexander Richardson.
Differential Revision: https://reviews.llvm.org/D32488
llvm-svn: 302694
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions