[llvm-commits] CVS: llvm/tools/llvmc/CompilerDriver.cpp
Reid Spencer
reid at x10sys.com
Fri Aug 25 10:43:35 PDT 2006
Changes in directory llvm/tools/llvmc:
CompilerDriver.cpp updated: 1.40 -> 1.41
---
Log message:
For PR797: http://llvm.org/PR797 :
Remove exception throwing/handling from lib/Bytecode, and adjust its users
to compensate for changes in the interface.
---
Diffs of the changes: (+3 -2)
CompilerDriver.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/tools/llvmc/CompilerDriver.cpp
diff -u llvm/tools/llvmc/CompilerDriver.cpp:1.40 llvm/tools/llvmc/CompilerDriver.cpp:1.41
--- llvm/tools/llvmc/CompilerDriver.cpp:1.40 Tue Aug 22 14:01:30 2006
+++ llvm/tools/llvmc/CompilerDriver.cpp Fri Aug 25 12:43:11 2006
@@ -576,7 +576,7 @@
if (fullpath.isBytecodeFile()) {
// Process the dependent libraries recursively
Module::LibraryListType modlibs;
- if (GetBytecodeDependentLibraries(fullpath.toString(),modlibs)) {
+ if (GetBytecodeDependentLibraries(fullpath.toString(),modlibs,&err)) {
// Traverse the dependent libraries list
Module::lib_iterator LI = modlibs.begin();
Module::lib_iterator LE = modlibs.end();
@@ -598,7 +598,8 @@
"The dependent libraries could not be extracted from '") +
fullpath.toString();
return false;
- }
+ } else
+ return false;
}
return true;
}
More information about the llvm-commits
mailing list