summaryrefslogtreecommitdiff
path: root/tools/bugpoint/BugDriver.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-18 20:52:02 +0000
committerChris Lattner <sabre@nondot.org>2004-02-18 20:52:02 +0000
commit7bb11547e497d7b8fc87f61c1089eee808e3a1ee (patch)
treedf871c6ac4f5465cbe3be0d994aa8da16e78f0e2 /tools/bugpoint/BugDriver.h
parentc8580b2aee8e0a93eb7dd2d70c81ccb33e447538 (diff)
downloadllvm-7bb11547e497d7b8fc87f61c1089eee808e3a1ee.tar.gz
llvm-7bb11547e497d7b8fc87f61c1089eee808e3a1ee.tar.bz2
llvm-7bb11547e497d7b8fc87f61c1089eee808e3a1ee.tar.xz
Update comments, if we are running with the CBE, make sure the Interpreter
variable and the CBE variable are pointer equal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.h')
-rw-r--r--tools/bugpoint/BugDriver.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/bugpoint/BugDriver.h b/tools/bugpoint/BugDriver.h
index 354fae54c6..2dd4f37127 100644
--- a/tools/bugpoint/BugDriver.h
+++ b/tools/bugpoint/BugDriver.h
@@ -173,7 +173,8 @@ private:
/// executeProgram - This method runs "Program", capturing the output of the
/// program to a file, returning the filename of the file. A recommended
- /// filename may be optionally specified.
+ /// filename may be optionally specified. If there is a problem with the code
+ /// generator (e.g., llc crashes), this will throw an exception.
///
std::string executeProgram(std::string RequestedOutputFilename = "",
std::string Bytecode = "",
@@ -182,13 +183,15 @@ private:
bool *ProgramExitedNonzero = 0);
/// executeProgramWithCBE - Used to create reference output with the C
- /// backend, if reference output is not provided.
+ /// backend, if reference output is not provided. If there is a problem with
+ /// the code generator (e.g., llc crashes), this will throw an exception.
///
std::string executeProgramWithCBE(std::string OutputFile = "");
/// diffProgram - This method executes the specified module and diffs the
/// output against the file specified by ReferenceOutputFile. If the output
- /// is different, true is returned.
+ /// is different, true is returned. If there is a problem with the code
+ /// generator (e.g., llc crashes), this will throw an exception.
///
bool diffProgram(const std::string &BytecodeFile = "",
const std::string &SharedObj = "",