diff options
-rw-r--r-- | lldb/source/Interpreter/CommandObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp index fc1d70bd11c..b04c6f754b5 100644 --- a/lldb/source/Interpreter/CommandObject.cpp +++ b/lldb/source/Interpreter/CommandObject.cpp @@ -994,7 +994,7 @@ bool CommandObjectParsed::Execute(const char *args_string, } if (!handled) { for (auto entry : llvm::enumerate(cmd_args.entries())) { - if (entry.Value.ref.front() == '`') { + if (!entry.Value.ref.empty() && entry.Value.ref.front() == '`') { cmd_args.ReplaceArgumentAtIndex( entry.Index, m_interpreter.ProcessEmbeddedScriptCommands(entry.Value.c_str())); |