[COFF] Update LLD yaml test cases to include .bss size
authorReid Kleckner <rnk@google.com>
Fri, 10 May 2019 22:12:51 +0000 (22:12 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 10 May 2019 22:12:51 +0000 (22:12 +0000)
commitc10f80eb7b4a546899ded220b3cd6cbaef0c7019
treed58a7d15dfc4303d2c1c28afed8f8fd9e33b00ba
parentdf10cc6068b29ba063b7e894412ae60161310c62
[COFF] Update LLD yaml test cases to include .bss size

These yaml test cases appear to have been affected by PR41836

Right now what happens is that these empty .bss sections are merged into
.data, then the .data output section ends up having a zero virtual size,
and it is discarded from the output after addresses are assigned.
However, we've already assigned OutputSections to Chunks, so we don't
correctly report the zero-sized chunks that were in there as having been
discarded. Soon, we will report them as discarded, so these test cases
need to be updated to have a non-zero size so they aren't discarded.

llvm-svn: 360476
lld/test/COFF/Inputs/pdb-file-statics-a.yaml
lld/test/COFF/Inputs/pdb-file-statics-b.yaml
lld/test/COFF/Inputs/pdb-globals.yaml
lld/test/COFF/Inputs/pdb_comdat_bar.yaml
lld/test/COFF/pdb-comdat.test
lld/test/COFF/sort-debug.test