From: Rui Ueyama Date: Mon, 14 Mar 2016 21:31:07 +0000 (+0000) Subject: Error messages should start with lowercase letters. X-Git-Tag: llvmorg-3.9.0-rc1~11735 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=64bd8df458755858cee6c92e9c976c0949b4b94c;p=platform%2Fupstream%2Fllvm.git Error messages should start with lowercase letters. llvm-svn: 263496 --- diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp index f5eecb4..de873bb 100644 --- a/lld/ELF/Driver.cpp +++ b/lld/ELF/Driver.cpp @@ -71,15 +71,15 @@ static std::pair parseEmulation(StringRef S) { // Each slice consists of a member file in the archive. static std::vector getArchiveMembers(MemoryBufferRef MB) { std::unique_ptr File = - check(Archive::create(MB), "Failed to parse archive"); + check(Archive::create(MB), "failed to parse archive"); std::vector V; for (const ErrorOr &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); } diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index d94b48c..8e07ffd 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp @@ -340,7 +340,7 @@ SymbolBody *elf::ObjectFile::createSymbolBody(const Elf_Sym *Sym) { } 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()); }