summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc/CompilerDriver.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvmc/CompilerDriver.h')
-rw-r--r--llvm/tools/llvmc/CompilerDriver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvmc/CompilerDriver.h b/llvm/tools/llvmc/CompilerDriver.h
index 41ad2c3bb46..02ec0e9f524 100644
--- a/llvm/tools/llvmc/CompilerDriver.h
+++ b/llvm/tools/llvmc/CompilerDriver.h
@@ -150,7 +150,8 @@ namespace llvm {
/// @{
public:
/// @brief Execute the actions requested for the given input list.
- virtual int execute(const InputList& list, const sys::Path& output) = 0;
+ virtual int execute(
+ const InputList& list, const sys::Path& output, std::string& ErrMsg) =0;
/// @brief Set the final phase at which compilation terminates
virtual void setFinalPhase(Phases phase) = 0;
OpenPOWER on IntegriCloud