diff options
author | Dave Lee <davelee.com@gmail.com> | 2021-02-08 17:33:53 -0800 |
---|---|---|
committer | Dave Lee <davelee.com@gmail.com> | 2021-02-08 18:38:08 -0800 |
commit | 7dc324aafa2b17a4f9a992b9727a3642505053a6 (patch) | |
tree | 574d540da892a384b90c7a5dde53327acca4a702 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 92028062413907e1c10b16e7c338e0745a11a051 (diff) | |
download | llvm-7dc324aafa2b17a4f9a992b9727a3642505053a6.zip llvm-7dc324aafa2b17a4f9a992b9727a3642505053a6.tar.gz llvm-7dc324aafa2b17a4f9a992b9727a3642505053a6.tar.bz2 |
[lldb] Fix crash in FormatEntity for mangled-name
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.
Differential Revision: https://reviews.llvm.org/D96307
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions