From c60223ef6c136d14532b8481706ee614cd6c2499 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Thu, 31 Mar 2011 13:04:19 +0000 Subject: Switch FileRemover from PathV1 to V2. llvm-svn: 128630 --- llvm/tools/bugpoint/BugDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/bugpoint/BugDriver.cpp') diff --git a/llvm/tools/bugpoint/BugDriver.cpp b/llvm/tools/bugpoint/BugDriver.cpp index 1cbf6328b36..c3decd64a02 100644 --- a/llvm/tools/bugpoint/BugDriver.cpp +++ b/llvm/tools/bugpoint/BugDriver.cpp @@ -194,7 +194,7 @@ bool BugDriver::run(std::string &ErrMsg) { // Make sure the reference output file gets deleted on exit from this // function, if appropriate. sys::Path ROF(ReferenceOutputFile); - FileRemover RemoverInstance(ROF, CreatedOutput && !SaveTemps); + FileRemover RemoverInstance(ROF.str(), CreatedOutput && !SaveTemps); // Diff the output of the raw program against the reference output. If it // matches, then we assume there is a miscompilation bug and try to -- cgit v1.2.3