mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
Remove EH use from the Archive library and adjust its users accordingly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29066 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -484,7 +484,9 @@ void doDelete() {
|
||||
}
|
||||
|
||||
// We're done editting, reconstruct the archive.
|
||||
TheArchive->writeToDisk(SymTable,TruncateNames,Compression);
|
||||
std::string errmsg;
|
||||
if (!TheArchive->writeToDisk(SymTable,TruncateNames,Compression,&errmsg))
|
||||
throw errmsg;
|
||||
if (ReallyVerbose)
|
||||
printSymbolTable();
|
||||
}
|
||||
@ -536,7 +538,9 @@ void doMove() {
|
||||
}
|
||||
|
||||
// We're done editting, reconstruct the archive.
|
||||
TheArchive->writeToDisk(SymTable,TruncateNames,Compression);
|
||||
std::string errmsg;
|
||||
if (!TheArchive->writeToDisk(SymTable,TruncateNames,Compression,&errmsg))
|
||||
throw errmsg;
|
||||
if (ReallyVerbose)
|
||||
printSymbolTable();
|
||||
}
|
||||
@ -555,7 +559,9 @@ void doQuickAppend() {
|
||||
}
|
||||
|
||||
// We're done editting, reconstruct the archive.
|
||||
TheArchive->writeToDisk(SymTable,TruncateNames,Compression);
|
||||
std::string errmsg;
|
||||
if (!TheArchive->writeToDisk(SymTable,TruncateNames,Compression,&errmsg))
|
||||
throw errmsg;
|
||||
if (ReallyVerbose)
|
||||
printSymbolTable();
|
||||
}
|
||||
@ -642,7 +648,9 @@ void doReplaceOrInsert() {
|
||||
}
|
||||
|
||||
// We're done editting, reconstruct the archive.
|
||||
TheArchive->writeToDisk(SymTable,TruncateNames,Compression);
|
||||
std::string errmsg;
|
||||
if (!TheArchive->writeToDisk(SymTable,TruncateNames,Compression,&errmsg))
|
||||
throw errmsg;
|
||||
if (ReallyVerbose)
|
||||
printSymbolTable();
|
||||
}
|
||||
|
Reference in New Issue
Block a user