Bug #1727125 “lldb build does not use libedit/readline for inter...” : Bugs : llvm-toolchain-4.0 package : Ubuntu

After installing `lldb-4.0`, if I start lldb, I get a vanilla console input line, and not a libedit/libreadline interface. Tab completion, arrow keys, history, etc are all missing. Curiously, on Ubuntu 16.04 Precise, lldb-3.8 exhibits proper command-line editing but `lldb-4.0` does not; On 17.04 Z…