diff options
author | Wu Yingcong <yingcong.wu@intel.com> | 2024-11-14 07:46:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-13 15:46:57 -0800 |
commit | 6c9256dc5cda9184e295bc8d00be35e61b3be892 (patch) | |
tree | 23c88941899009ccb61c1dcc900d950269dda935 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | adfa6b762dc53bc53377785d824264a3311e829d (diff) | |
download | llvm-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/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions