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:
3de3b05
)
behold my standards-compliant humps!
author
Duraid Madina
<duraid@octopus.com.au>
Wed, 28 Dec 2005 05:56:36 +0000
(
05:56
+0000)
committer
Duraid Madina
<duraid@octopus.com.au>
Wed, 28 Dec 2005 05:56:36 +0000
(
05:56
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25033
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llc/llc.cpp
patch
|
blob
|
history
diff --git
a/tools/llc/llc.cpp
b/tools/llc/llc.cpp
index 573e9ba2b75561177b3d0a411b96f948512fdbcb..d009fd0735830b419beaa0c9ab143e37233611c5 100644
(file)
--- a/
tools/llc/llc.cpp
+++ b/
tools/llc/llc.cpp
@@
-30,6
+30,7
@@
#include <fstream>
#include <iostream>
#include <memory>
+#include <cstdio>
using namespace llvm;
@@
-243,7
+244,7
@@
int main(int argc, char **argv) {
<< "' does not support generation of this file type!\n";
if (Out != &std::cout) delete Out;
// And the Out file is empty and useless, so remove it now.
- remove(OutputFilename.c_str());
+
std::
remove(OutputFilename.c_str());
return 1;
} else {
// Run our queue of passes all at once now, efficiently.