[llvm-commits] [llvm] r137913 - /llvm/trunk/tools/lto/LTOCodeGenerator.cpp
John Criswell
criswell at uiuc.edu
Wed Aug 17 18:19:05 PDT 2011
Author: criswell
Date: Wed Aug 17 20:19:05 2011
New Revision: 137913
URL: http://llvm.org/viewvc/llvm-project?rev=137913&view=rev
Log:
Fixed compilation warning on Linux by fixing the type of a return value.
Modified:
llvm/trunk/tools/lto/LTOCodeGenerator.cpp
Modified: llvm/trunk/tools/lto/LTOCodeGenerator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/LTOCodeGenerator.cpp?rev=137913&r1=137912&r2=137913&view=diff
==============================================================================
--- llvm/trunk/tools/lto/LTOCodeGenerator.cpp (original)
+++ llvm/trunk/tools/lto/LTOCodeGenerator.cpp Wed Aug 17 20:19:05 2011
@@ -193,7 +193,7 @@
bool genResult = false;
tool_output_file objFile(uniqueObjPath.c_str(), errMsg);
if (!errMsg.empty())
- return NULL;
+ return true;
genResult = this->generateObjectFile(objFile.os(), errMsg);
objFile.os().close();
if (objFile.os().has_error()) {
More information about the llvm-commits
mailing list