aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorWu Yingcong <yingcong.wu@intel.com>2024-11-14 07:46:57 +0800
committerGitHub <noreply@github.com>2024-11-13 15:46:57 -0800
commit6c9256dc5cda9184e295bc8d00be35e61b3be892 (patch)
tree23c88941899009ccb61c1dcc900d950269dda935 /llvm/lib/CodeGen/CodeGen.cpp
parentadfa6b762dc53bc53377785d824264a3311e829d (diff)
downloadllvm-6c9256dc5cda9184e295bc8d00be35e61b3be892.zip
llvm-6c9256dc5cda9184e295bc8d00be35e61b3be892.tar.gz
llvm-6c9256dc5cda9184e295bc8d00be35e61b3be892.tar.bz2
[ASAN] fix a nullptr dereference error. (#116011)
`parent_context` is used without checking for nullptr and we can see in LINE 50 that it could totally be nullptr. This patch addresses this issue.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions