forked from OSchip/llvm-project
parent
0a74a60bc4
commit
3f6994b3c7
|
@ -318,9 +318,8 @@ llvm::writeArchive(StringRef ArcName,
|
|||
MemberRef = Buffers.back()->getMemBufferRef();
|
||||
} else {
|
||||
object::Archive::child_iterator OldMember = Member.getOld();
|
||||
assert(!Thin ||
|
||||
OldMember->getParent()->isThin() &&
|
||||
"Thin archives cannot refers to member of other archives");
|
||||
assert((!Thin || OldMember->getParent()->isThin()) &&
|
||||
"Thin archives cannot refers to member of other archives");
|
||||
ErrorOr<MemoryBufferRef> MemberBufferOrErr =
|
||||
OldMember->getMemoryBufferRef();
|
||||
if (auto EC = MemberBufferOrErr.getError())
|
||||
|
|
Loading…
Reference in New Issue