[lld] r263496 - Error messages should start with lowercase letters.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 14 14:31:08 PDT 2016
Author: ruiu
Date: Mon Mar 14 16:31:07 2016
New Revision: 263496
URL: http://llvm.org/viewvc/llvm-project?rev=263496&view=rev
Log:
Error messages should start with lowercase letters.
Modified:
lld/trunk/ELF/Driver.cpp
lld/trunk/ELF/InputFiles.cpp
Modified: lld/trunk/ELF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Driver.cpp?rev=263496&r1=263495&r2=263496&view=diff
==============================================================================
--- lld/trunk/ELF/Driver.cpp (original)
+++ lld/trunk/ELF/Driver.cpp Mon Mar 14 16:31:07 2016
@@ -71,15 +71,15 @@ static std::pair<ELFKind, uint16_t> pars
// Each slice consists of a member file in the archive.
static std::vector<MemoryBufferRef> getArchiveMembers(MemoryBufferRef MB) {
std::unique_ptr<Archive> File =
- check(Archive::create(MB), "Failed to parse archive");
+ check(Archive::create(MB), "failed to parse archive");
std::vector<MemoryBufferRef> V;
for (const ErrorOr<Archive::Child> &COrErr : File->children()) {
- Archive::Child C = check(COrErr, "Could not get the child of the archive " +
+ Archive::Child C = check(COrErr, "could not get the child of the archive " +
File->getFileName());
MemoryBufferRef Mb =
check(C.getMemoryBufferRef(),
- "Could not get the buffer for a child of the archive " +
+ "could not get the buffer for a child of the archive " +
File->getFileName());
V.push_back(Mb);
}
Modified: lld/trunk/ELF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.cpp?rev=263496&r1=263495&r2=263496&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Mon Mar 14 16:31:07 2016
@@ -340,7 +340,7 @@ SymbolBody *elf::ObjectFile<ELFT>::creat
}
void ArchiveFile::parse() {
- File = check(Archive::create(MB), "Failed to parse archive");
+ File = check(Archive::create(MB), "failed to parse archive");
// Allocate a buffer for Lazy objects.
size_t NumSyms = File->getNumberOfSymbols();
@@ -355,13 +355,13 @@ void ArchiveFile::parse() {
MemoryBufferRef ArchiveFile::getMember(const Archive::Symbol *Sym) {
Archive::Child C =
check(Sym->getMember(),
- "Could not get the member for symbol " + Sym->getName());
+ "could not get the member for symbol " + Sym->getName());
if (!Seen.insert(C.getChildOffset()).second)
return MemoryBufferRef();
return check(C.getMemoryBufferRef(),
- "Could not get the buffer for the member defining symbol " +
+ "could not get the buffer for the member defining symbol " +
Sym->getName());
}
More information about the llvm-commits
mailing list