File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
lldb/source/Plugins/ExpressionParser/Swift Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,16 @@ Status SwiftREPL::DoInitialization() {
303
303
std::static_pointer_cast<TypeSystemSwiftTypeRefForExpressions>(
304
304
*type_system_or_err)
305
305
->SetCompilerOptions (m_compiler_options.c_str ());
306
- return Status ();
306
+
307
+ std::string format_str = " ${ansi.negative}Swift " +
308
+ swift::version::getCompilerVersion () +
309
+ " { | {${progress.count} }${progress.message}}" ;
310
+ FormatEntity::Entry format_entry;
311
+ Status error = FormatEntity::Parse (format_str, format_entry);
312
+ if (error.Success ())
313
+ m_target.GetDebugger ().SetStatuslineFormat (format_entry);
314
+
315
+ return error;
307
316
}
308
317
309
318
llvm::StringRef SwiftREPL::GetSourceFileBasename () {
You can’t perform that action at this time.
0 commit comments