mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-28 12:30:22 +00:00
Fix a few windows only tests.
This argument must be non-null. llvm-svn: 252336
This commit is contained in:
parent
4731bea3e5
commit
7bcaec83be
@ -572,7 +572,9 @@ public:
|
||||
P += Sym.size() + 1;
|
||||
memcpy(P, DLLName.data(), DLLName.size());
|
||||
|
||||
object::Archive::Child C(Parent, Buf, nullptr);
|
||||
std::error_code EC;
|
||||
object::Archive::Child C(Parent, Buf, &EC);
|
||||
assert(!EC && "We created an invalid buffer");
|
||||
return NewArchiveIterator(C, DLLName);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user