[llvm-commits] CVS: llvm/tools/lto/lto.cpp

Reid Spencer reid at x10sys.com
Sun Aug 20 19:05:03 PDT 2006



Changes in directory llvm/tools/lto:

lto.cpp updated: 1.5 -> 1.6
---
Log message:

For PR797: http://llvm.org/PR797 :
Make sys::Program::ExecuteAndWait not throw exceptions and update any 
affected code. It now return -9999 to signal that the program couldn't be
executed. Only one case (in bugpoint) actually examines the result code.


---
Diffs of the changes:  (+1 -1)

 lto.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/tools/lto/lto.cpp
diff -u llvm/tools/lto/lto.cpp:1.5 llvm/tools/lto/lto.cpp:1.6
--- llvm/tools/lto/lto.cpp:1.5	Mon Aug 14 18:37:18 2006
+++ llvm/tools/lto/lto.cpp	Sun Aug 20 21:04:43 2006
@@ -334,7 +334,7 @@
   args.push_back(tmpAsmFilePath.c_str());
   args.push_back(0);
 
-  int R1 = sys::Program::ExecuteAndWait(gcc, &args[0], 0, 0, 1);
+  sys::Program::ExecuteAndWait(gcc, &args[0], 0, 0, 1);
 
   tmpAsmFilePath.eraseFromDisk();
 






More information about the llvm-commits mailing list