summaryrefslogtreecommitdiff
path: root/tools/bugpoint/BugDriver.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-01 16:13:49 +0000
committerChris Lattner <sabre@nondot.org>2003-08-01 16:13:49 +0000
commit587a6ce4b99346b5e785d0a5c360c6c6687b036a (patch)
treeb577f12af2b4a5a47b068556a4be70959fc74f0d /tools/bugpoint/BugDriver.h
parent72666e6c30e9d23bc7aec3856661c1a13719b7c7 (diff)
downloadllvm-587a6ce4b99346b5e785d0a5c360c6c6687b036a.tar.gz
llvm-587a6ce4b99346b5e785d0a5c360c6c6687b036a.tar.bz2
llvm-587a6ce4b99346b5e785d0a5c360c6c6687b036a.tar.xz
Parameterize the performFinalCleanups a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7477 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.h')
-rw-r--r--tools/bugpoint/BugDriver.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/bugpoint/BugDriver.h b/tools/bugpoint/BugDriver.h
index 40c170a36a..f86782a0bc 100644
--- a/tools/bugpoint/BugDriver.h
+++ b/tools/bugpoint/BugDriver.h
@@ -147,9 +147,10 @@ private:
/// performFinalCleanups - This method clones the current Program and performs
/// a series of cleanups intended to get rid of extra cruft on the module
- /// before handing it to the user...
+ /// before handing it to the user... if the module parameter is specified, it
+ /// operates directly on the specified Module, modifying it in place.
///
- Module *performFinalCleanups() const;
+ Module *performFinalCleanups(Module *M = 0) const;
/// initializeExecutionEnvironment - This method is used to set up the
/// environment for executing LLVM programs.