mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-25 14:50:26 +00:00
[lld][elf2] Fix style.
llvm-svn: 247064
This commit is contained in:
parent
90e0340850
commit
88f0d63bea
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user