[Lldb-commits] [PATCH] D48465: Added initial code completion support for the `expr` command

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 21 16:48:34 PDT 2018


teemperor added a comment.

Note that there are two parent revisions. One is just refactoring because I needed to reuse some of the parsing setup code. The other patch (the AsyncPrint one) fixes a deadlock that affected this patch. The deadlock can be reproduces by starting lldb, going to a random breakpoint in a C++ program and then trying to complete a simple expression like `expr some_local_var`. lldb will fail to read some Objective C class information from the executable and attempts to print a warning, but this deadlocks everything as we hold the IO locks while completing arguments.


https://reviews.llvm.org/D48465





More information about the lldb-commits mailing list