Go to file
Jordan Rose 2bc9674b0a [analyzer] Don't attempt to devirtualize calls to base class destructors.
CXXDestructorCall now has a flag for when it is a base destructor call.
Other kinds of destructor calls (locals, fields, temporaries, and 'delete')
all behave as "whole-object" destructors and do not behave differently
from one another (specifically, in these cases we /should/ try to
devirtualize a call to a virtual destructor).

This was causing crashes in both our internal buildbot, the crash still
being tracked in PR13765, and some of the crashes being tracked in PR13763,
due to a assertion failure. (The behavior under -Asserts happened to be
correct anyway.)

Adding this knowledge also allows our DynamicTypePropagation checker to do
a bit less work; the special rules about virtual method calls during a
destructor only require extra handling during base destructors.

llvm-svn: 163348
2012-09-06 20:37:08 +00:00
clang [analyzer] Don't attempt to devirtualize calls to base class destructors. 2012-09-06 20:37:08 +00:00
clang-tools-extra Make lit.cfg like the other lit.cfgs so it can be run standalone. 2012-09-04 22:23:37 +00:00
compiler-rt tsan: fix code style 2012-09-06 16:11:30 +00:00
debuginfo-tests Fix this for gdb 7.4. 2012-07-23 19:41:58 +00:00
libclc Add barrier.cl to SOURCES, spotted by Jin Wang. 2012-09-05 18:13:55 +00:00
libcxx Some minor mingw64 porting tweaks from Glen. 2012-09-03 18:13:11 +00:00
libcxxabi Change size of reference count field in __libcpp_nmstr from 32 bits to 64 bits for 64 bit targets. This is controls the data layout of all exceptions defined in <stdexcept>. This aligns the ABI with that of gcc-4.2. 2012-08-08 16:15:16 +00:00
lld Hook up lld-test to llvm check-all. Patch by Andy Gibbs! 2012-07-31 18:44:52 +00:00
lldb When you reach the bottom of the inlined stack, don't say you can do a virtual step. 2012-09-06 19:24:57 +00:00
llvm The Mips standalone assembler memory instruction support. 2012-09-06 20:00:02 +00:00
polly Add dependency to intrinsics_gen 2012-09-04 08:19:12 +00:00