[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)
Mike Ash via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 9 07:17:48 PDT 2025
================
@@ -42,17 +52,21 @@ def setUp(self):
"main.c", "// Find the line number of c's parent call here."
)
- def breakpoint_conditions(self, inline=False):
+ def breakpoint_conditions(self, inline=False, language=None):
"""Exercise breakpoint condition with 'breakpoint modify -c <expr> id'."""
exe = self.getBuildArtifact("a.out")
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
+ cmd_args = "-c 'val == 3'"
----------------
mikeash wrote:
This seems like it would still pass if the `-Y` option were to be ignored, since it's a valid conditional in Swift and C.
https://github.com/llvm/llvm-project/pull/147603
More information about the lldb-commits
mailing list