summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/BugDriver.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.h')
-rw-r--r--llvm/tools/bugpoint/BugDriver.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.h b/llvm/tools/bugpoint/BugDriver.h
index 6a2105392f1..96e9fb98017 100644
--- a/llvm/tools/bugpoint/BugDriver.h
+++ b/llvm/tools/bugpoint/BugDriver.h
@@ -16,11 +16,13 @@
#ifndef BUGDRIVER_H
#define BUGDRIVER_H
+#include "llvm/ADT/DenseMap.h"
#include <vector>
#include <string>
namespace llvm {
+class Value;
class PassInfo;
class Module;
class GlobalVariable;
@@ -312,7 +314,8 @@ void DeleteFunctionBody(Function *F);
/// SplitFunctionsOutOfModule - Given a module and a list of functions in the
/// module, split the functions OUT of the specified module, and place them in
/// the new module.
-Module *SplitFunctionsOutOfModule(Module *M, const std::vector<Function*> &F);
+Module *SplitFunctionsOutOfModule(Module *M, const std::vector<Function*> &F,
+ DenseMap<const Value*, Value*> &ValueMap);
} // End llvm namespace
OpenPOWER on IntegriCloud