mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Reland "[llvm-objcopy] Refactor llvm-objcopy to use reader and writer objects"
Added line to output the proper files in the output to binary case. llvm-svn: 323489
This commit is contained in:
parent
f2df36f3f1
commit
8f15218062
@ -1004,6 +1004,8 @@ void BinaryWriter::write() {
|
||||
continue;
|
||||
Section.accept(*SecWriter);
|
||||
}
|
||||
if (auto E = BufPtr->commit())
|
||||
reportError(File, errorToErrorCode(std::move(E)));
|
||||
}
|
||||
|
||||
void BinaryWriter::finalize() {
|
||||
|
Loading…
Reference in New Issue
Block a user