diff options
-rw-r--r-- | llvm/tools/bugpoint/BugDriver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.cpp b/llvm/tools/bugpoint/BugDriver.cpp index 0116ab09a57..ad520d76786 100644 --- a/llvm/tools/bugpoint/BugDriver.cpp +++ b/llvm/tools/bugpoint/BugDriver.cpp @@ -175,7 +175,8 @@ bool BugDriver::run() { // Make sure the reference output file gets deleted on exit from this // function, if appropriate. - FileRemover RemoverInstance(sys::Path(ReferenceOutputFile), CreatedOutput); + sys::Path ROF(ReferenceOutputFile); + FileRemover RemoverInstance(ROF, CreatedOutput); // Diff the output of the raw program against the reference output. If it // matches, then we have a miscompilation bug. |