[lld][elf2] Fix style.

llvm-svn: 247064
This commit is contained in:
Michael J. Spencer 2015-09-08 20:36:20 +00:00
parent 90e0340850
commit 88f0d63bea
1 changed files with 2 additions and 2 deletions

View File

@ -181,9 +181,9 @@ MemoryBufferRef ArchiveFile::getMember(const Archive::Symbol *Sym) {
Twine("Could not get the member for symbol ") + Sym->getName());
Archive::child_iterator It = *ItOrErr;
if (!Seen.insert(It->getChildOffset()).second) {
if (!Seen.insert(It->getChildOffset()).second)
return MemoryBufferRef();
}
ErrorOr<MemoryBufferRef> Ret = It->getMemoryBufferRef();
error(Ret, Twine("Could not get the buffer for the member defining symbol ") +
Sym->getName());