aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvmc
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-25 17:43:11 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-25 17:43:11 +0000
commit0b5a504d105514178c80b886321221fbe5ac1131 (patch)
tree069c7663f74040a5d323ab404e026b4c59a2a1a9 /tools/llvmc
parentac123227109303be313c3c4625b152246969e781 (diff)
downloadexternal_llvm-0b5a504d105514178c80b886321221fbe5ac1131.zip
external_llvm-0b5a504d105514178c80b886321221fbe5ac1131.tar.gz
external_llvm-0b5a504d105514178c80b886321221fbe5ac1131.tar.bz2
For PR797:
Remove exception throwing/handling from lib/Bytecode, and adjust its users to compensate for changes in the interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc')
-rw-r--r--tools/llvmc/CompilerDriver.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/llvmc/CompilerDriver.cpp b/tools/llvmc/CompilerDriver.cpp
index a6aff4e..46dbd89 100644
--- a/tools/llvmc/CompilerDriver.cpp
+++ b/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;
}