Fix bugpoint execution/reference output file name
authorHal Finkel <hfinkel@anl.gov>
Fri, 28 Jun 2013 16:37:52 +0000 (16:37 +0000)
committerHal Finkel <hfinkel@anl.gov>
Fri, 28 Jun 2013 16:37:52 +0000 (16:37 +0000)
commite528a2c21a63a06c5e3cdf929000d77c59ac0937
tree09a93c013fea670f0a5ab5c17fe072b11007abc6
parentb0f11e370141c98d24493760e72f9c0d6959150d
Fix bugpoint execution/reference output file name

sys::fs::unique_file will now loop infinitely if provided with a file name
without '%' characters and the input file already exists. As a result, bugpoint
cannot use a fixed file name for the execution output (including the reference
output).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185166 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/BugDriver.h
tools/bugpoint/ExecutionDriver.cpp