summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/BugDriver.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-03-31 13:04:19 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-03-31 13:04:19 +0000
commitc60223ef6c136d14532b8481706ee614cd6c2499 (patch)
tree57decd04244cc75439176c8999fe9ecaaad3ff9c /llvm/tools/bugpoint/BugDriver.cpp
parent41f32c71273156391eb0855bf78b5ea533dd0ac0 (diff)
downloadbcm5719-llvm-c60223ef6c136d14532b8481706ee614cd6c2499.tar.gz
bcm5719-llvm-c60223ef6c136d14532b8481706ee614cd6c2499.zip
Switch FileRemover from PathV1 to V2.
llvm-svn: 128630
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.cpp')
-rw-r--r--llvm/tools/bugpoint/BugDriver.cpp2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud