diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2019-01-18 23:05:07 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2019-01-18 23:05:07 +0000 |
commit | 097a0497400f25c7c296feba0d148523bd37f29e (patch) | |
tree | 5541615ae38b91ad4517f57c7e83adcc02a25da4 /llvm/tools/llvm-strings | |
parent | c2c47f24f53a064d141eb5ea62ecd76d636edf77 (diff) | |
download | llvm-097a0497400f25c7c296feba0d148523bd37f29e.zip llvm-097a0497400f25c7c296feba0d148523bd37f29e.tar.gz llvm-097a0497400f25c7c296feba0d148523bd37f29e.tar.bz2 |
[analyzer] pr37688: Fix a crash upon evaluating a deleted destructor of a union.
Add a defensive check against an invalid destructor in the CFG.
Unions with fields with destructors have their own destructor implicitly
deleted. Due to a bug in the CFG we're still trying to evaluate them
at the end of the object's lifetime and crash because we are unable
to find the destructor's declaration.
rdar://problem/47362608
Differential Revision: https://reviews.llvm.org/D56899
llvm-svn: 351610
Diffstat (limited to 'llvm/tools/llvm-strings')
0 files changed, 0 insertions, 0 deletions