[Lldb-commits] [PATCH] D32421: Fix segfault resulting from empty print prompt

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 3 02:12:24 PDT 2017


labath added a comment.

It's definitely still a bug worth fixing, we cannot rely on undefined behavior like that.

Thank you very much for adding the test case. Looking at the test suite again, I think I've found a better place for the test. Could you put the test in test/testcases/expression_command/multiline/TestMultilineExpressions.py. You don't even have to create a new file, just add a new function (`test_empty_list` ?) to the existing class.

Other than that, I think this is great.


https://reviews.llvm.org/D32421





More information about the lldb-commits mailing list