commit | 44e05080f828e80e262fc00cc1fa48a8a37b7f3e | [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 | a3caf9c82828313c29f2f06c5793f846ca9d8ceb | |
parent | aa2776e93451aa6d1311c109b16d02428f86865a [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101879 91177308-0d34-0410-b5e6-96231b3b80d8