Remove duplication of relocation names in lib/Object/ELFYAML.cpp
authorTim Northover <tnorthover@apple.com>
Fri, 21 Nov 2014 20:16:09 +0000 (20:16 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 21 Nov 2014 20:16:09 +0000 (20:16 +0000)
commit6e8e506b3ef0f479dc74a5c743fb10b1b559c316
tree752b820c8b1b9fd9ae1da5a3be862108d58cb8c1
parent242785c03123384d50687638539d072efe118b20
Remove duplication of relocation names in lib/Object/ELFYAML.cpp

We can now use the ELF relocation .def files to create the mapping
of relocation numbers to names and avoid having to duplicate the
list of relocations.

Patch by Will Newton.

llvm-svn: 222567
llvm/lib/Object/ELFYAML.cpp