diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-06-01 01:22:52 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-06-01 01:22:52 +0000 |
commit | dcca6333c6a5c237c87a7b8de2d796372d1cc95b (patch) | |
tree | 8d7c108c6ff2d7507ee5e3df00457f4fdf15939f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 84a1af52066a5bf2df5ffde1641421894be3bbf9 (diff) | |
download | bcm5719-llvm-dcca6333c6a5c237c87a7b8de2d796372d1cc95b.tar.gz bcm5719-llvm-dcca6333c6a5c237c87a7b8de2d796372d1cc95b.zip |
Disable type merging with gc attributes. This has a number of nasty
properties at the moment:
1. It allows stuff like "__strong id x; __weak id x;".
2. For constructs like "__strong id x; id x;", subsequent references to
x lose the objc_gc attribute.
3. This incorrectly allows merges involving the address_space attribute.
4. Constructs like "id x; /* some code using x */ __weak id x;" don't
apply the objc_gc attribute consistently to all uses of x.
The first three can probably be fixed relatively easily; the fourth
would be extremely difficult to fix.
llvm-svn: 72683
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions