From f1b20d8620b05abaa52f40ac6d21f839b265fb00 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 6 Jun 2006 22:30:59 +0000 Subject: [PATCH] Move ToolRunner.(cpp|h) into the bugpoint directory git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28699 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/bugpoint/BugDriver.cpp | 2 +- tools/bugpoint/CrashDebugger.cpp | 2 +- tools/bugpoint/ExecutionDriver.cpp | 2 +- tools/bugpoint/ToolRunner.cpp | 2 +- tools/bugpoint/ToolRunner.h | 7 +++---- tools/bugpoint/bugpoint.cpp | 2 +- 6 files changed, 8 insertions(+), 9 deletions(-) diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp index 66608132112..8251ee4e3fa 100644 --- a/tools/bugpoint/BugDriver.cpp +++ b/tools/bugpoint/BugDriver.cpp @@ -14,12 +14,12 @@ //===----------------------------------------------------------------------===// #include "BugDriver.h" +#include "ToolRunner.h" #include "llvm/Linker.h" #include "llvm/Module.h" #include "llvm/Pass.h" #include "llvm/Assembly/Parser.h" #include "llvm/Bytecode/Reader.h" -#include "llvm/Support/ToolRunner.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/FileUtilities.h" #include diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp index 53b15800aed..2e2ab20fa04 100644 --- a/tools/bugpoint/CrashDebugger.cpp +++ b/tools/bugpoint/CrashDebugger.cpp @@ -12,6 +12,7 @@ //===----------------------------------------------------------------------===// #include "BugDriver.h" +#include "ToolRunner.h" #include "ListReducer.h" #include "llvm/Constant.h" #include "llvm/Instructions.h" @@ -23,7 +24,6 @@ #include "llvm/Analysis/Verifier.h" #include "llvm/Bytecode/Writer.h" #include "llvm/Support/CFG.h" -#include "llvm/Support/ToolRunner.h" #include "llvm/Transforms/Scalar.h" #include "llvm/Transforms/Utils/Cloning.h" #include "llvm/Support/FileUtilities.h" diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp index 481d1d1fed4..72e564ec3c0 100644 --- a/tools/bugpoint/ExecutionDriver.cpp +++ b/tools/bugpoint/ExecutionDriver.cpp @@ -13,7 +13,7 @@ //===----------------------------------------------------------------------===// #include "BugDriver.h" -#include "llvm/Support/ToolRunner.h" +#include "ToolRunner.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/Support/FileUtilities.h" diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp index b6d2a4dec41..37f080ab9c1 100644 --- a/tools/bugpoint/ToolRunner.cpp +++ b/tools/bugpoint/ToolRunner.cpp @@ -12,7 +12,7 @@ //===----------------------------------------------------------------------===// #define DEBUG_TYPE "toolrunner" -#include "llvm/Support/ToolRunner.h" +#include "ToolRunner.h" #include "llvm/Config/config.h" // for HAVE_LINK_R #include "llvm/System/Program.h" #include "llvm/Support/Debug.h" diff --git a/tools/bugpoint/ToolRunner.h b/tools/bugpoint/ToolRunner.h index d232cd2e97d..9d2903cc643 100644 --- a/tools/bugpoint/ToolRunner.h +++ b/tools/bugpoint/ToolRunner.h @@ -1,4 +1,4 @@ -//===-- llvm/Support/ToolRunner.h -------------------------------*- C++ -*-===// +//===-- tools/bugpoint/ToolRunner.h -----------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -14,8 +14,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_TOOLRUNNER_H -#define LLVM_SUPPORT_TOOLRUNNER_H +#ifndef BUGPOINT_TOOLRUNNER_H +#define BUGPOINT_TOOLRUNNER_H #include "llvm/Support/SystemUtils.h" #include @@ -26,7 +26,6 @@ namespace llvm { class CBE; class LLC; - /// ToolExecutionError - An instance of this class is thrown by the /// AbstractInterpreter instances if there is an error running a tool (e.g., LLC /// crashes) which prevents execution of the program. diff --git a/tools/bugpoint/bugpoint.cpp b/tools/bugpoint/bugpoint.cpp index 7991ab835e8..f30243dcc45 100644 --- a/tools/bugpoint/bugpoint.cpp +++ b/tools/bugpoint/bugpoint.cpp @@ -14,10 +14,10 @@ //===----------------------------------------------------------------------===// #include "BugDriver.h" +#include "ToolRunner.h" #include "llvm/Analysis/LinkAllAnalyses.h" #include "llvm/Transforms/LinkAllPasses.h" #include "llvm/Support/PassNameParser.h" -#include "llvm/Support/ToolRunner.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/PluginLoader.h" #include "llvm/System/Process.h" -- 2.34.1