projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f56ea61
)
Fixed compilation warning on Linux by fixing the type of a return value.
author
John Criswell
<criswell@uiuc.edu>
Thu, 18 Aug 2011 01:19:05 +0000
(
01:19
+0000)
committer
John Criswell
<criswell@uiuc.edu>
Thu, 18 Aug 2011 01:19:05 +0000
(
01:19
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137913
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/lto/LTOCodeGenerator.cpp
patch
|
blob
|
history
diff --git
a/tools/lto/LTOCodeGenerator.cpp
b/tools/lto/LTOCodeGenerator.cpp
index 8b4b57c445806854337fb15fed7d07cfe3166cfd..cff6cb15a8942ce247c155d72a6594dfcf527764 100644
(file)
--- a/
tools/lto/LTOCodeGenerator.cpp
+++ b/
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()) {