diff options
| author | John Brawn <john.brawn@arm.com> | 2015-08-12 15:05:39 +0000 |
|---|---|---|
| committer | John Brawn <john.brawn@arm.com> | 2015-08-12 15:05:39 +0000 |
| commit | 75fc09ddbad9e302b1b12fae894dde8de0809f53 (patch) | |
| tree | b9ef85bd664ab3f45b9021f9c9aacb20f5b5d194 /llvm/lib/CodeGen/MachineFunctionAnalysis.cpp | |
| parent | 3349f89974279c21c7230384ee8bea7aea99f738 (diff) | |
| download | llvm-75fc09ddbad9e302b1b12fae894dde8de0809f53.zip llvm-75fc09ddbad9e302b1b12fae894dde8de0809f53.tar.gz llvm-75fc09ddbad9e302b1b12fae894dde8de0809f53.tar.bz2 | |
Redo "Make global aliases have symbol size equal to their type"
r242520 was reverted in r244313 as the expected behaviour of the alias
attribute in C is that the alias has the same size as the aliasee. However
we can re-introduce adding the size on the alias when the aliasee does not,
from a source code or object perspective, exist as a discrete entity. This
happens when the aliasee is not a symbol, or when that symbol is private.
Differential Revision: http://reviews.llvm.org/D11943
llvm-svn: 244752
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
