diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-07-18 07:44:50 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-07-18 07:44:50 +0000 |
commit | 05fdf9bc3f5089db291484e4ad9880aa432db9f4 (patch) | |
tree | f708583268b0830369101e6288244296a10ea560 /lib/CodeGen/CodeGenTBAA.cpp | |
parent | fd10398c10ffdcbdeb1e3e299c74d70e689f503c (diff) |
[arcmt] When a NSData's 'bytes' family of methods are used on a local var,
add __attribute__((objc_precise_lifetime)) to make sure that the object
(and its data) will not get released before the var goes out-of-scope.
rdar://9206226
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTBAA.cpp')
0 files changed, 0 insertions, 0 deletions