diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2006-08-25 17:43:11 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2006-08-25 17:43:11 +0000 |
| commit | f25aebf8cfc3a6fba60b8f42baa3a9f150605ff7 (patch) | |
| tree | e52d574d694ae018651e6345c9af7960ab01c590 /llvm/tools/llvmc/CompilerDriver.cpp | |
| parent | 8cca95cf5db9036fa88f785ff2bc742dfac68eea (diff) | |
| download | bcm5719-llvm-f25aebf8cfc3a6fba60b8f42baa3a9f150605ff7.tar.gz bcm5719-llvm-f25aebf8cfc3a6fba60b8f42baa3a9f150605ff7.zip | |
For PR797:
Remove exception throwing/handling from lib/Bytecode, and adjust its users
to compensate for changes in the interface.
llvm-svn: 29875
Diffstat (limited to 'llvm/tools/llvmc/CompilerDriver.cpp')
| -rw-r--r-- | llvm/tools/llvmc/CompilerDriver.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/tools/llvmc/CompilerDriver.cpp b/llvm/tools/llvmc/CompilerDriver.cpp index a6aff4eb30a..46dbd89fc95 100644 --- a/llvm/tools/llvmc/CompilerDriver.cpp +++ b/llvm/tools/llvmc/CompilerDriver.cpp @@ -576,7 +576,7 @@ private: 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 @@ private: "The dependent libraries could not be extracted from '") + fullpath.toString(); return false; - } + } else + return false; } return true; } |

