| commit | 5100367ff39c47492b7ceae3a3ee3b28372fff6e | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Tue Apr 20 06:20:21 2010 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Tue Apr 20 06:20:21 2010 +0000 |
| tree | 5c63d321c64a8fc4e8755501aeb2f958a5bde56a | |
| parent | 52c28fe61a6e58e158b360607ea76069a7a9ba60 [diff] |
Bill's change in r95336 broke empty aggregates embedded in other types. fix this by only bumping zero-byte globals up to a single byte if the *entire global* is zero size, fixing PR6340. This also fixes empty arrays etc to be handled correctly, and only does this on subsection-via-symbols targets (aka darwin) which is the only place where this matters. llvm-svn: 101879