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

Reid Spencer reid at x10sys.com
Sun Nov 5 11:53:23 PST 2006



Changes in directory llvm/tools/llvm-ld:

llvm-ld.cpp updated: 1.39 -> 1.40
---
Log message:

Fix a problem in the the last patch that subverts error message printing.


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

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


Index: llvm/tools/llvm-ld/llvm-ld.cpp
diff -u llvm/tools/llvm-ld/llvm-ld.cpp:1.39 llvm/tools/llvm-ld/llvm-ld.cpp:1.40
--- llvm/tools/llvm-ld/llvm-ld.cpp:1.39	Sun Nov  5 13:31:28 2006
+++ llvm/tools/llvm-ld/llvm-ld.cpp	Sun Nov  5 13:53:08 2006
@@ -499,7 +499,7 @@
           // Get the program arguments
           sys::Path tmp_output("opt_result");
           std::string ErrMsg;
-          if (tmp_output.createTemporaryFileOnDisk(true)) {
+          if (tmp_output.createTemporaryFileOnDisk(true, &ErrMsg)) {
             return PrintAndReturn(ErrMsg);
           }
           const char* args[4];






More information about the llvm-commits mailing list