parent
f2d1c73cf3
commit
322b2c413d
|
|
@ -371,9 +371,7 @@ std::error_code Writer::write(StringRef OutputPath) {
|
||||||
writeHeader();
|
writeHeader();
|
||||||
writeSections();
|
writeSections();
|
||||||
applyRelocations();
|
applyRelocations();
|
||||||
if (auto EC = Buffer->commit())
|
return Buffer->commit();
|
||||||
return EC;
|
|
||||||
return std::error_code();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace coff
|
} // namespace coff
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue