aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bugpoint/ToolRunner.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-16 23:01:34 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-16 23:01:34 +0000
commit9ac141823d6180f8a49299c55ed8fc8b9a8310a3 (patch)
treecde8d6c57374e93a57189a4edd44e847c63ebec4 /tools/bugpoint/ToolRunner.h
parenta2f7ed7035b38a13c65c04fa3b626197bd9d360a (diff)
downloadexternal_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 'tools/bugpoint/ToolRunner.h')
-rw-r--r--tools/bugpoint/ToolRunner.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bugpoint/ToolRunner.h b/tools/bugpoint/ToolRunner.h
index c5d89da..0fa7de4 100644
--- a/tools/bugpoint/ToolRunner.h
+++ b/tools/bugpoint/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