diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-03-27 01:12:45 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-03-27 01:12:45 +0000 |
commit | de5b4fbe31e50641806234b3334eb9aa829673f8 (patch) | |
tree | 60226de9b49acb759fcd3d12cdce0ae939c55ff2 /unittests/Basic/SourceManagerTest.cpp | |
parent | 412e0cc52ea644d804dcfa87194800371f91a977 (diff) |
Change RetainCountChecker to eagerly "escape" retained objects when they are
assigned to a struct. This is fallout from inlining results, which expose
far more patterns where people stuff CF objects into structs and pass them
around (and we can reason about it). The problem is that we don't have
a general way to detect when values have escaped, so as an intermediate step
we need to eagerly prune out such tracking.
Fixes <rdar://problem/11104566>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions