Go to file
Jordan Rose 4a7bf49bd4 [analyzer] If a struct has a partial lazy binding, its fields aren't Undef.
This is essentially the same problem as r174031: a lazy binding for the first
field of a struct may stomp on an existing default binding for the
entire struct. Because of the way RegionStore is set up, we can't help
but lose the top-level binding, but then we need to make sure that accessing
one of the other fields doesn't come back as Undefined.

In this case, RegionStore is now correctly detecting that the lazy binding
we have isn't the right type, but then failing to follow through on the
implications of that: we don't know anything about the other fields in the
aggregate. This fix adds a test when searching for other kinds of default
values to see if there's a lazy binding we rejected, and if so returns
a symbolic value instead of Undefined.

The long-term fix for this is probably a new Store model; see
<rdar://problem/12701038>.

Fixes <rdar://problem/13292559>.

llvm-svn: 176144
2013-02-27 00:05:29 +00:00
clang [analyzer] If a struct has a partial lazy binding, its fields aren't Undef. 2013-02-27 00:05:29 +00:00
clang-tools-extra Add user documentation for cpp11-migrate 2013-02-25 20:37:03 +00:00
compiler-rt [Sanitizer] Don't die if external symbolizer is used on Mac, where it's not implemented yet 2013-02-26 13:40:51 +00:00
debuginfo-tests Harden this test a bit to work on the mac with ancient gdbs. 2013-01-17 20:09:50 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx Michael van der Westhuizen: correction to the libcxx build instructions when built with libcxxrt on Linux. 2013-02-26 16:27:55 +00:00
libcxxabi Bruce Mitchener: Typo fixes. 2013-02-15 15:48:49 +00:00
lld [Pass][Layout] Fix bug and add debug printing. 2013-02-26 01:35:30 +00:00
lldb Fix one remaining mach port number/globally unique thread ID mixup which prevented queue names 2013-02-26 23:58:00 +00:00
llvm Debug Info: for static member variables, add AT_MIPS_linkage_name to the 2013-02-27 00:02:32 +00:00
polly Use attributes references on call/invoke instructions. 2013-02-22 09:29:15 +00:00