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/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | 53da8600e1bd2fb91b344ad301209e1b8d5de160 (diff) | |
download | llvm-7a2b1bdb4c8a099ebc38b7f802988244ad21fcc0.zip llvm-7a2b1bdb4c8a099ebc38b7f802988244ad21fcc0.tar.gz llvm-7a2b1bdb4c8a099ebc38b7f802988244ad21fcc0.tar.bz2 |
[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/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions