[llvm-commits] CVS: llvm/tools/llvm-ranlib/llvm-ranlib.cpp
Reid Spencer
reid at x10sys.com
Fri Jul 7 12:09:28 PDT 2006
Changes in directory llvm/tools/llvm-ranlib:
llvm-ranlib.cpp updated: 1.8 -> 1.9
---
Log message:
Remove EH use from the Archive library and adjust its users accordingly.
---
Diffs of the changes: (+2 -1)
llvm-ranlib.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/tools/llvm-ranlib/llvm-ranlib.cpp
diff -u llvm/tools/llvm-ranlib/llvm-ranlib.cpp:1.8 llvm/tools/llvm-ranlib/llvm-ranlib.cpp:1.9
--- llvm/tools/llvm-ranlib/llvm-ranlib.cpp:1.8 Wed Dec 28 00:58:12 2005
+++ llvm/tools/llvm-ranlib/llvm-ranlib.cpp Fri Jul 7 14:09:14 2006
@@ -74,7 +74,8 @@
if (!TheArchive)
throw err_msg;
- TheArchive->writeToDisk(true, false, false );
+ if (!TheArchive->writeToDisk(true, false, false, &err_msg ))
+ throw err_msg;
if (Verbose)
printSymbolTable(TheArchive);
More information about the llvm-commits
mailing list