diff options
| author | Sean Callanan <scallanan@apple.com> | 2015-10-20 00:23:46 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2015-10-20 00:23:46 +0000 |
| commit | 3e7e915dca7dd543f11bdb6312e95a857df22618 (patch) | |
| tree | 3641b5e85d967bd28f923e234999388a24fbdfd9 /lldb/scripts/interface | |
| parent | 7449ab983473b57a5b0980fb1cdbae8f67f43e60 (diff) | |
| download | bcm5719-llvm-3e7e915dca7dd543f11bdb6312e95a857df22618.tar.gz bcm5719-llvm-3e7e915dca7dd543f11bdb6312e95a857df22618.zip | |
Added support for the "--repl" argument to LLDB.
This makes LLDB launch and create a REPL, specifying no target so that the REPL
can create one for itself. Also added the "--repl-language" option, which
specifies the language to use. Plumbed the relevant arguments and errors
through the REPL creation mechanism.
llvm-svn: 250773
Diffstat (limited to 'lldb/scripts/interface')
| -rw-r--r-- | lldb/scripts/interface/SBDebugger.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBDebugger.i b/lldb/scripts/interface/SBDebugger.i index de58f7115b8..2abffa8ed5a 100644 --- a/lldb/scripts/interface/SBDebugger.i +++ b/lldb/scripts/interface/SBDebugger.i @@ -377,6 +377,9 @@ public: int &num_errors, bool &quit_requested, bool &stopped_for_crash); + + lldb::SBError + RunREPL (lldb::LanguageType language, const char *repl_options); }; // class SBDebugger } // namespace lldb |

