Check a Block pointer before dereferencing.
Using function.mangled-name led to a crash for a frame where the symbol
context had no block info. In my case, the frame's function was a system frame.
Paths
| Differential D96307
[lldb] Fix crash in FormatEntity for mangled-name ClosedPublic Authored by kastiglione on Feb 8 2021, 5:40 PM.
Details
Summary Check a Block pointer before dereferencing. Using function.mangled-name led to a crash for a frame where the symbol
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 8 2021, 5:51 PM This revision was landed with ongoing or failed builds.Feb 8 2021, 6:38 PM Closed by commit rG7dc324aafa2b: [lldb] Fix crash in FormatEntity for mangled-name (authored by kastiglione). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 322252 lldb/source/Core/FormatEntity.cpp
|
clang-tidy: error: 'lldb/Core/FormatEntity.h' file not found [clang-diagnostic-error]
not useful