diff options
Diffstat (limited to 'lld/ELF/Driver.cpp')
-rw-r--r-- | lld/ELF/Driver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp index f5eecb4148a..de873bb7e4d 100644 --- a/lld/ELF/Driver.cpp +++ b/lld/ELF/Driver.cpp @@ -71,15 +71,15 @@ static std::pair<ELFKind, uint16_t> parseEmulation(StringRef S) { // 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); } |