projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daa9810
)
Fix a problem in the the last patch that subverts error message printing.
author
Reid Spencer
<rspencer@reidspencer.com>
Sun, 5 Nov 2006 19:53:08 +0000
(19:53 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sun, 5 Nov 2006 19:53:08 +0000
(19:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31466
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-ld/llvm-ld.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-ld/llvm-ld.cpp
b/tools/llvm-ld/llvm-ld.cpp
index a7f15a9c3fcd1952dae007762d1806a03c6948ae..60fe746b7a4a8720e8a620f6409e05401c072c8d 100644
(file)
--- a/
tools/llvm-ld/llvm-ld.cpp
+++ b/
tools/llvm-ld/llvm-ld.cpp
@@
-499,7
+499,7
@@
int main(int argc, char **argv, char **envp) {
// 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];