[all-commits] [llvm/llvm-project] c997ac: [lldb] Add support for specifying language when se...
Alex via All-commits
all-commits at lists.llvm.org
Wed Apr 26 10:24:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c997acb97a9b15468d991116c28bb003afecb07c
https://github.com/llvm/llvm-project/commit/c997acb97a9b15468d991116c28bb003afecb07c
Author: Alex Langford <alangford at apple.com>
Date: 2023-04-26 (Wed, 26 Apr 2023)
Changed paths:
M lldb/include/lldb/Interpreter/OptionGroupWatchpoint.h
M lldb/source/Commands/CommandObjectWatchpoint.cpp
M lldb/source/Interpreter/OptionGroupWatchpoint.cpp
A lldb/test/Shell/Watchpoint/ExpressionLanguage.test
A lldb/test/Shell/Watchpoint/Inputs/languages.cpp
Log Message:
-----------
[lldb] Add support for specifying language when setting watchpoint by expression
This is useful in contexts where you have multiple languages in play:
You may be stopped in a frame for language A, but want to set a watchpoint
with an expression using language B. The current way to do this is to
use the setting `target.language` while setting the watchpoint and
unset it after the watchpoint is set, but that's kind of clunky and
somewhat error-prone. This should add a better way to do this.
rdar://108202559
Differential Revision: https://reviews.llvm.org/D149111
More information about the All-commits
mailing list