aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorShlomi Regev <shlmregev@users.noreply.github.com>2024-11-12 22:31:25 +0000
committerGitHub <noreply@github.com>2024-11-12 23:31:25 +0100
commit13317502da8ee3885854f67700140586c0edafee (patch)
tree0266e6853c967e98802e978a25a0f2105f600eb6 /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent5a5122cac6eca445062e36ed7c69b6b749497143 (diff)
downloadllvm-13317502da8ee3885854f67700140586c0edafee.zip
llvm-13317502da8ee3885854f67700140586c0edafee.tar.gz
llvm-13317502da8ee3885854f67700140586c0edafee.tar.bz2
[mlir] Add a null pointer check in symbol lookup (#115165)
Dead code analysis crashed because a symbol that is called/used didn't appear in the symbol table. This patch fixes this by adding a nullptr check after symbol table lookup.
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions