[all-commits] [llvm/llvm-project] 877723: [lldb/Expression] Improve interpreter error messag...
Med Ismail Bennani via All-commits
all-commits at lists.llvm.org
Tue Jan 14 04:07:14 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 877723b7ce813d25fc4a358b7d2cb90468733a72
https://github.com/llvm/llvm-project/commit/877723b7ce813d25fc4a358b7d2cb90468733a72
Author: Med Ismail Bennani <medismail.bennani at gmail.com>
Date: 2020-01-14 (Tue, 14 Jan 2020)
Changed paths:
M lldb/packages/Python/lldbsuite/test/commands/expression/dont_allow_jit/TestAllowJIT.py
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
Log Message:
-----------
[lldb/Expression] Improve interpreter error message with a non-running target
When trying to interpret an expression with a function call, if the
process hasn't been launched, the expression fails to be interpreted
and the user gets the following error message:
```error: Can't run the expression locally```
This message doesn't explain why the expression failed to be
interpreted, that's why this patch improves the error message that is
displayed when trying to run an expression while no process is running.
rdar://11991708
Differential Revision: https://reviews.llvm.org/D72510
Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>
More information about the All-commits
mailing list