summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/2010-02-04-EmptyGlobal.ll
Commit message (Collapse)AuthorAge
* Bill's change in r95336 broke empty aggregates embeddedChris Lattner2010-04-20
| | | | | | | | | | | | | | 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
* Make test more fucused eliminating extraneous bits.Bill Wendling2010-02-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95384 91177308-0d34-0410-b5e6-96231b3b80d8
* An empty global constant (one of size 0) may have a section immediatelyBill Wendling2010-02-05
following it. However, the EmitGlobalConstant method wasn't emitting a body for the constant. The assembler doesn't like that. Before, we were generating this: .zerofill __DATA, __common, __cmd, 1, 3 This fix puts us back to that semantic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95336 91177308-0d34-0410-b5e6-96231b3b80d8