Invert the section relocation map.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 11 Feb 2015 23:38:33 +0000 (23:38 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 11 Feb 2015 23:38:33 +0000 (23:38 +0000)
commitbbcdb9da19547728bc968e7b93c74fbfcc9c9aef
tree2a630abd2cba1176b6f8a5fba4c6b667fef56d57
parent62118a1fe328b0587875770afa357ace7c93a14a
Invert the section relocation map.

It now points from rel section to section. Use it to set sh_info, avoiding
a brittle name lookup.

llvm-svn: 228889
llvm/lib/MC/ELFObjectWriter.cpp