diff options
| author | John Criswell <criswell@uiuc.edu> | 2011-08-18 01:19:05 +0000 |
|---|---|---|
| committer | John Criswell <criswell@uiuc.edu> | 2011-08-18 01:19:05 +0000 |
| commit | bae1c0b23bceadcdea2a4fb9cce196b0e040fe8f (patch) | |
| tree | b9b1a8e29e8da1a11e0f18937bea97be9c4bcd43 /llvm | |
| parent | 3045386527b360b2cb0864222f98c78033541848 (diff) | |
| download | bcm5719-llvm-bae1c0b23bceadcdea2a4fb9cce196b0e040fe8f.tar.gz bcm5719-llvm-bae1c0b23bceadcdea2a4fb9cce196b0e040fe8f.zip | |
Fixed compilation warning on Linux by fixing the type of a return value.
llvm-svn: 137913
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/tools/lto/LTOCodeGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/lto/LTOCodeGenerator.cpp b/llvm/tools/lto/LTOCodeGenerator.cpp index 8b4b57c4458..cff6cb15a89 100644 --- a/llvm/tools/lto/LTOCodeGenerator.cpp +++ b/llvm/tools/lto/LTOCodeGenerator.cpp @@ -193,7 +193,7 @@ bool LTOCodeGenerator::compile_to_file(const char** name, std::string& errMsg) 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()) { |

