This adds autocompletion for the expression (and thus print and p) commands. Variables and symbols are suggested.
For example: let's assume we have a struct called my_struct. We break, then run:
(lldb) p my_ [TAB]
will autocomplete to:
(lldb) p my_struct
Now let's assume we run:
(lldb) p m [TAB]
we'll get suggestions from all corresponding symbols like this:
Available completions: mach_absolute_time mach_approximate_time mach_boottime_usec mach_continuous_approximate_time mach_continuous_time mach_error [...] More (Y/n/a):