[all-commits] [llvm/llvm-project] b565e7: Don't try to create Expressions when the process i...
jimingham via All-commits
all-commits at lists.llvm.org
Wed Nov 9 10:07:31 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b565e7f0c4cb1768f6c43499aed95adb8cc4f04a
https://github.com/llvm/llvm-project/commit/b565e7f0c4cb1768f6c43499aed95adb8cc4f04a
Author: Jim Ingham <jingham at apple.com>
Date: 2022-11-09 (Wed, 09 Nov 2022)
Changed paths:
M lldb/source/Expression/FunctionCaller.cpp
M lldb/source/Expression/UserExpression.cpp
M lldb/source/Expression/UtilityFunction.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
M lldb/source/Target/Process.cpp
Log Message:
-----------
Don't try to create Expressions when the process is running.
We generally prohibit this at a higher level - for instance requiring
the process to be stopped for "expr". But when we trigger an expression
for internal purposes (e.g. to fetch types from the ObjC runtime) we weren't
checking the process state. Now we explicitly check this at the very start
of the job so we don't get into bad states.
Differential Revision: https://reviews.llvm.org/D137684
More information about the All-commits
mailing list