mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Add -output-prefix option to bugpoint (to change the default output name).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81154 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -37,6 +37,7 @@ using namespace llvm;
|
||||
|
||||
namespace llvm {
|
||||
bool DisableSimplifyCFG = false;
|
||||
extern cl::opt<std::string> OutputPrefix;
|
||||
} // End llvm namespace
|
||||
|
||||
namespace {
|
||||
@@ -324,7 +325,7 @@ Module *BugDriver::ExtractMappedBlocksFromModule(const
|
||||
Module *M) {
|
||||
char *ExtraArg = NULL;
|
||||
|
||||
sys::Path uniqueFilename("bugpoint-extractblocks");
|
||||
sys::Path uniqueFilename(OutputPrefix + "-extractblocks");
|
||||
std::string ErrMsg;
|
||||
if (uniqueFilename.createTemporaryFileOnDisk(true, &ErrMsg)) {
|
||||
outs() << "*** Basic Block extraction failed!\n";
|
||||
|
Reference in New Issue
Block a user