[ELF] Add a better test for the multi-CU .gdb_index bug that D54361 fixed
authorFangrui Song <maskray@google.com>
Tue, 13 Nov 2018 20:49:36 +0000 (20:49 +0000)
committerFangrui Song <maskray@google.com>
Tue, 13 Nov 2018 20:49:36 +0000 (20:49 +0000)
commitc2858f63e5297558c74b16998cc1cda676ca5adc
tree4f08f599f6837535624200738b232036a887e6aa
parent35de877e8c3b6285c03987c6e89985ee3cdd30c0
[ELF] Add a better test for the multi-CU .gdb_index bug that D54361 fixed

gdb-index-multiple-cu-2.s puts the symbol in question to another object file %t1.o, so that its CuIndex is affected by the number of CUs in %t.o

Also change `Kind:` in a comment to `Attributes:` as a follow-up of D54480 and D54481

llvm-svn: 346796
lld/test/ELF/Inputs/gdb-index-multiple-cu-2.s [new file with mode: 0644]
lld/test/ELF/gdb-index-multiple-cu-2.s [new file with mode: 0644]
lld/test/ELF/gdb-index-multiple-cu.s