[llvm-commits] CVS: llvm/include/llvm/Support/ToolRunner.h
Reid Spencer
reid at x10sys.com
Thu Dec 16 15:01:45 PST 2004
Changes in directory llvm/include/llvm/Support:
ToolRunner.h updated: 1.15 -> 1.16
---
Log message:
For PR351: http://llvm.cs.uiuc.edu/PR351 :
* Make the OutputC and OutputAsm functions work with sys::Path for the output
file name instead of using std::string.
* Get rid of extraneous "toString" calls.
* Change "removeFile" to sys::Path::destroyFile()
---
Diffs of the changes: (+2 -2)
Index: llvm/include/llvm/Support/ToolRunner.h
diff -u llvm/include/llvm/Support/ToolRunner.h:1.15 llvm/include/llvm/Support/ToolRunner.h:1.16
--- llvm/include/llvm/Support/ToolRunner.h:1.15 Wed Sep 1 17:55:35 2004
+++ llvm/include/llvm/Support/ToolRunner.h Thu Dec 16 17:01:34 2004
@@ -147,7 +147,7 @@
// necessarily compile it with GCC and run the program. This throws an
// exception if LLC crashes.
//
- virtual void OutputC(const std::string &Bytecode, std::string &OutputCFile);
+ virtual void OutputC(const std::string &Bytecode, sys::Path& OutputCFile);
};
@@ -184,7 +184,7 @@
// not necessarily compile it all the way and run the program. This throws
// an exception if execution of LLC fails.
//
- void OutputAsm(const std::string &Bytecode, std::string &OutputAsmFile);
+ void OutputAsm(const std::string &Bytecode, sys::Path &OutputAsmFile);
};
} // End llvm namespace
More information about the llvm-commits
mailing list