[llvm-commits] CVS: llvm/tools/lto/lto.cpp
Devang Patel
dpatel at apple.com
Wed Aug 23 09:59:45 PDT 2006
Changes in directory llvm/tools/lto:
lto.cpp updated: 1.7 -> 1.8
---
Log message:
If unable to create tmp. file on disk then return LTO_WRITE_FAILURE status.
---
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.7 llvm/tools/lto/lto.cpp:1.8
--- llvm/tools/lto/lto.cpp:1.7 Tue Aug 22 19:39:35 2006
+++ llvm/tools/lto/lto.cpp Wed Aug 23 11:59:25 2006
@@ -298,7 +298,7 @@
std::string ErrMsg;
if (tmpAsmFilePath.createTemporaryFileOnDisk(&ErrMsg)) {
std::cerr << "lto: " << ErrMsg << "\n";
- return;
+ return LTO_WRITE_FAILURE;
}
sys::RemoveFileOnSignal(tmpAsmFilePath);
More information about the llvm-commits
mailing list