aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
diff options
context:
space:
mode:
authorAdam Czachorowski <adamcz@google.com>2021-11-10 16:28:13 +0100
committerAdam Czachorowski <adamcz@google.com>2021-11-10 17:17:00 +0100
commit7a2b1bdb4c8a099ebc38b7f802988244ad21fcc0 (patch)
tree1855762cfd8cc83611f2b4bbdd6986bf8dd8004b /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
parent53da8600e1bd2fb91b344ad301209e1b8d5de160 (diff)
downloadllvm-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