diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-16 23:01:34 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-16 23:01:34 +0000 |
commit | 9ac141823d6180f8a49299c55ed8fc8b9a8310a3 (patch) | |
tree | cde8d6c57374e93a57189a4edd44e847c63ebec4 /include | |
parent | a2f7ed7035b38a13c65c04fa3b626197bd9d360a (diff) | |
download | external_llvm-9ac141823d6180f8a49299c55ed8fc8b9a8310a3.zip external_llvm-9ac141823d6180f8a49299c55ed8fc8b9a8310a3.tar.gz external_llvm-9ac141823d6180f8a49299c55ed8fc8b9a8310a3.tar.bz2 |
For 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()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19000 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/ToolRunner.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/ToolRunner.h b/include/llvm/Support/ToolRunner.h index c5d89da..0fa7de4 100644 --- a/include/llvm/Support/ToolRunner.h +++ b/include/llvm/Support/ToolRunner.h @@ -147,7 +147,7 @@ public: // 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 @@ public: // 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 |