summaryrefslogtreecommitdiff
path: root/tools/bugpoint
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-05 22:01:48 +0000
committerChris Lattner <sabre@nondot.org>2004-04-05 22:01:48 +0000
commit11b8cd197a740bc9af2f27cb88d535c4be2cdd0e (patch)
treeb37242b8fbaa01471e6b98fde7b94ea3ab3a1472 /tools/bugpoint
parent9ae427a14c974390474db846ca8316698ace64b2 (diff)
downloadllvm-11b8cd197a740bc9af2f27cb88d535c4be2cdd0e.tar.gz
llvm-11b8cd197a740bc9af2f27cb88d535c4be2cdd0e.tar.bz2
llvm-11b8cd197a740bc9af2f27cb88d535c4be2cdd0e.tar.xz
Make a method public
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12677 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint')
-rw-r--r--tools/bugpoint/BugDriver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/bugpoint/BugDriver.h b/tools/bugpoint/BugDriver.h
index f5ef51763e..d54ec57677 100644
--- a/tools/bugpoint/BugDriver.h
+++ b/tools/bugpoint/BugDriver.h
@@ -209,12 +209,13 @@ public:
bool runPasses(const std::vector<const PassInfo*> &PassesToRun,
std::string &OutputFilename, bool DeleteOutput = false,
bool Quiet = false) const;
-private:
+
/// writeProgramToFile - This writes the current "Program" to the named
/// bytecode file. If an error occurs, true is returned.
///
bool writeProgramToFile(const std::string &Filename, Module *M = 0) const;
+private:
/// runPasses - Just like the method above, but this just returns true or
/// false indicating whether or not the optimizer crashed on the specified
/// input (true = crashed).