diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-03-31 13:04:19 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-03-31 13:04:19 +0000 |
commit | c9c08fb3a7fb5e8ea3e1477a88507704c7a70ba1 (patch) | |
tree | 09765d1b73ddfab76c21df840c3d6b9905521320 /tools/bugpoint/BugDriver.cpp | |
parent | dc5198bac7e3f9b61617c8c46a1c28a84daa9325 (diff) | |
download | llvm-c9c08fb3a7fb5e8ea3e1477a88507704c7a70ba1.tar.gz llvm-c9c08fb3a7fb5e8ea3e1477a88507704c7a70ba1.tar.bz2 llvm-c9c08fb3a7fb5e8ea3e1477a88507704c7a70ba1.tar.xz |
Switch FileRemover from PathV1 to V2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128630 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.cpp')
-rw-r--r-- | tools/bugpoint/BugDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp index 1cbf6328b3..c3decd64a0 100644 --- a/tools/bugpoint/BugDriver.cpp +++ b/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 |