summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/interface
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2015-10-20 00:23:46 +0000
committerSean Callanan <scallanan@apple.com>2015-10-20 00:23:46 +0000
commit3e7e915dca7dd543f11bdb6312e95a857df22618 (patch)
tree3641b5e85d967bd28f923e234999388a24fbdfd9 /lldb/scripts/interface
parent7449ab983473b57a5b0980fb1cdbae8f67f43e60 (diff)
downloadbcm5719-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.i3
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
OpenPOWER on IntegriCloud