[Lldb-commits] [PATCH] D72413: Add missing nullptr checks.
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 8 13:46:18 PST 2020
aprantl created this revision.
aprantl added reviewers: JDevlieghere, jingham.
GetPersistentExpressionStateForLanguage() can return a nullptr if it cannot construct a typesystem. This patch adds missing nullptr checks at all uses.
Inspired by rdar://problem/58317195
https://reviews.llvm.org/D72413
Files:
lldb/source/Expression/REPL.cpp
lldb/source/Expression/UserExpression.cpp
lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
lldb/source/Target/ABI.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72413.236900.patch
Type: text/x-patch
Size: 8378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200108/11529ae6/attachment.bin>
More information about the lldb-commits
mailing list