diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2025-10-09 12:05:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-09 12:05:00 -0700 |
commit | eb06c7e7d25da30dd611812a9bec56bf5c3f5ac3 (patch) | |
tree | 27b902e4ccbd6773daccc0e3918bb69f2f4860fe /lldb/unittests/ScriptInterpreter/Python | |
parent | 1d63892bbcf5655ced016aca606e03c36e07bb6c (diff) | |
download | llvm-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/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions