[all-commits] [llvm/llvm-project] 7dc324: [lldb] Fix crash in FormatEntity for mangled-name
Dave Lee via All-commits
all-commits at lists.llvm.org
Mon Feb 8 18:38:36 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7dc324aafa2b17a4f9a992b9727a3642505053a6
https://github.com/llvm/llvm-project/commit/7dc324aafa2b17a4f9a992b9727a3642505053a6
Author: Dave Lee <davelee.com at gmail.com>
Date: 2021-02-08 (Mon, 08 Feb 2021)
Changed paths:
M lldb/source/Core/FormatEntity.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list