forked from OSchip/llvm-project
Fix a typo in my previous commit
This commit is contained in:
parent
6740a88dc1
commit
2293b3f169
|
@ -494,7 +494,7 @@ void UniversalWriter::writeMachO(raw_ostream &OS) {
|
|||
writeFatArchs(OS);
|
||||
|
||||
auto &FatFile = *ObjectFile.FatMachO;
|
||||
assert(FatFile.FatArchs.size() > FatFile.Slices.size() &&
|
||||
assert(FatFile.FatArchs.size() >= FatFile.Slices.size() &&
|
||||
"Cannot write Slices if not decribed in FatArches");
|
||||
for (size_t i = 0; i < FatFile.Slices.size(); i++) {
|
||||
ZeroToOffset(OS, FatFile.FatArchs[i].offset);
|
||||
|
|
Loading…
Reference in New Issue