diff options
| author | Adam Czachorowski <adamcz@google.com> | 2021-11-10 16:28:13 +0100 |
|---|---|---|
| committer | Adam Czachorowski <adamcz@google.com> | 2021-11-10 17:17:00 +0100 |
| commit | 7a2b1bdb4c8a099ebc38b7f802988244ad21fcc0 (patch) | |
| tree | 1855762cfd8cc83611f2b4bbdd6986bf8dd8004b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 53da8600e1bd2fb91b344ad301209e1b8d5de160 (diff) | |
[clang] Do not crash in APValue::prettyPrint() on forward-decl structs.
The call to getTypeSizeInChars() is replaced with
getTypeSizeInCharsIfKnown(), which does not crash on forward declared
structs. This only affects printing.
Differential Revision: https://reviews.llvm.org/D113570
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
