aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorYingChi Long <me@inclyc.cn>2022-08-10 01:11:41 +0800
committerYingChi Long <me@inclyc.cn>2022-08-10 08:42:59 +0800
commit55d3b79d159bab53b140860279486db8a1c0e4f3 (patch)
treeb68d2dc7f44ffa89b324e50a289029570bf648ff /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parentc74a204826da331cb18023c626b0717d5b8a927d (diff)
downloadllvm-55d3b79d159bab53b140860279486db8a1c0e4f3.zip
llvm-55d3b79d159bab53b140860279486db8a1c0e4f3.tar.gz
llvm-55d3b79d159bab53b140860279486db8a1c0e4f3.tar.bz2
[clang] add APValue type check in `TryPrintAsStringLiteral`
Fixes https://github.com/llvm/llvm-project/issues/57013 https://reviews.llvm.org/D115031 improved printing of non-type template parameter args. But checking if the end of Inits is 0 without checking if APValue is an integer, causes clang to segfault. This patch adds the code to check the type. (May not be a proper bugfix.) Reviewed By: aaron.ballman, lichray Differential Revision: https://reviews.llvm.org/D131466
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions