Changes in directory llvm/lib/Debugger:
Debugger.cpp updated: 1.6 -> 1.7 --- 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: (+1 -9) Debugger.cpp | 10 +--------- 1 files changed, 1 insertion(+), 9 deletions(-) Index: llvm/lib/Debugger/Debugger.cpp diff -u llvm/lib/Debugger/Debugger.cpp:1.6 llvm/lib/Debugger/Debugger.cpp:1.7 --- llvm/lib/Debugger/Debugger.cpp:1.6 Fri Mar 10 16:39:48 2006 +++ llvm/lib/Debugger/Debugger.cpp Fri Aug 25 12:43:11 2006 @@ -45,15 +45,7 @@ static Module * getMaterializedModuleProvider(const std::string &Filename) { - try { - std::auto_ptr<ModuleProvider> Result(getBytecodeModuleProvider(Filename)); - if (!Result.get()) return 0; - - Result->materializeModule(); - return Result.release()->releaseModule(); - } catch (...) { - return 0; - } + return ParseBytecodeFile(Filename); } /// loadProgram - If a program is currently loaded, unload it. Then search _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits