diff options
author | jimingham <jingham@apple.com> | 2025-10-08 13:01:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-08 13:01:20 -0700 |
commit | f3e2c20a23b11fbe1149e5d2e3631109af6d3238 (patch) | |
tree | a41286830fdaac3d3b1ec43dbc466d2fb39c48f3 /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | 6359980f5b555f95429139c2e2e9530d75d4e78f (diff) | |
download | llvm-f3e2c20a23b11fbe1149e5d2e3631109af6d3238.zip llvm-f3e2c20a23b11fbe1149e5d2e3631109af6d3238.tar.gz llvm-f3e2c20a23b11fbe1149e5d2e3631109af6d3238.tar.bz2 |
Make SBBreakpoint/SBBreakpointLocation.SetCondition(nullptr) work again. (#162370)
The addition of the StopCondition in the lldb_private layer meant that
clearing a breakpoint condition with:
sb_break.SetCondition(nullptr);
now crashes. Also, GetCondition for an empty condition used to return a
nullptr, but now it returns "".
This patch fixes that crash and makes the SB GetCondition always return
nullptr for an empty condition.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions