summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/FileOutputBufferTest.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2019-01-18 23:05:07 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2019-01-18 23:05:07 +0000
commit097a0497400f25c7c296feba0d148523bd37f29e (patch)
tree5541615ae38b91ad4517f57c7e83adcc02a25da4 /llvm/unittests/Support/FileOutputBufferTest.cpp
parentc2c47f24f53a064d141eb5ea62ecd76d636edf77 (diff)
downloadbcm5719-llvm-097a0497400f25c7c296feba0d148523bd37f29e.tar.gz
bcm5719-llvm-097a0497400f25c7c296feba0d148523bd37f29e.zip
[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/unittests/Support/FileOutputBufferTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud