aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2025-10-09 12:05:00 -0700
committerGitHub <noreply@github.com>2025-10-09 12:05:00 -0700
commiteb06c7e7d25da30dd611812a9bec56bf5c3f5ac3 (patch)
tree27b902e4ccbd6773daccc0e3918bb69f2f4860fe /lldb/packages/Python/lldbsuite/test/gdbclientutils.py
parent1d63892bbcf5655ced016aca606e03c36e07bb6c (diff)
downloadllvm-eb06c7e7d25da30dd611812a9bec56bf5c3f5ac3.zip
llvm-eb06c7e7d25da30dd611812a9bec56bf5c3f5ac3.tar.gz
llvm-eb06c7e7d25da30dd611812a9bec56bf5c3f5ac3.tar.bz2
[lldb] Fix assertion caused by invalid SupportFileSP (#162710)
SupportFileSP should never be null, and instead should use a default constructed SupportFile to represent an invalid instance. This is because the class used to be a value type before it became polymorphic. We have various places in LLDB where we check this precondition, including in DisplaySourceLinesWithLineNumbers. The assertion was tripped when calling GetStartLineSourceInfo which starts by resetting the SupportFileSP and has a series of early returns which leave the shared pointer in that state. rdar://161607247
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions