[ELF][test]Remove unnecessary empty symbol references in yaml/add missing symbols...
authorJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 22 Feb 2019 11:22:39 +0000 (11:22 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 22 Feb 2019 11:22:39 +0000 (11:22 +0000)
commit0cc32dd4a13472702181e41fc17c8161c4999534
tree8e23cfeab8241b0b47591dcec70e4c99d7325fb5
parent35e1c6663c373f561f3bffdfe613e4619cdfe048
[ELF][test]Remove unnecessary empty symbol references in yaml/add missing symbols for relocs

yaml2obj used to require the Symbol field in relocations, but it hasn't
done so for a couple of years. Another change to yaml2obj will soon land
that will look up the symbol by name or index, if present, and emit an
error if not found. This will mean that an explicit symbol reference
(even to an empty-named symbol) that does not reference a symbol
declared in the yaml will result in an error.

This patch updates tests that would otherwise start emitting errors.

Reviewed by: ruiu, grimar

Differential Revision: https://reviews.llvm.org/D58508

llvm-svn: 354666
lld/test/ELF/arm-v4bx.test
lld/test/ELF/icf10.test
lld/test/ELF/icf11.test
lld/test/ELF/invalid/reloc-section-reordered.test
lld/test/ELF/relocation-dtrace.test
lld/test/ELF/relocation-none-aarch64.test
lld/test/ELF/relocation-none-i686.test
lld/test/ELF/undef-broken-debug.test