This is an archive of the discontinued LLVM Phabricator instance.

[ELF][test]Remove unnecessary empty symbol references in yaml/add missing symbols for relocs
ClosedPublic

Authored by jhenderson on Feb 21 2019, 7:40 AM.

Details

Summary

yaml2obj used to require the Symbol field in relocations, but it hasn't done so for a couple of years. I am making a separate change to yaml2obj 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.

Diff Detail

Repository
rL LLVM