summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-06-01 01:22:52 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-06-01 01:22:52 +0000
commitdcca6333c6a5c237c87a7b8de2d796372d1cc95b (patch)
tree8d7c108c6ff2d7507ee5e3df00457f4fdf15939f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent84a1af52066a5bf2df5ffde1641421894be3bbf9 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud