Simplify mapping from relocation sections to relocated sections.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 6 Apr 2015 03:09:30 +0000 (03:09 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 6 Apr 2015 03:09:30 +0000 (03:09 +0000)
commitb73b70ebffe6620f16bbbedf576962600400cb52
tree5e0b78af3a48a1c0793df6283dcf8b38f0567275
parente51ab6e200444d0e8079689255f893b819c681eb
Simplify mapping from relocation sections to relocated sections.

Just store the section in MCSectionELF. This avoids multiple hash lookups.

This will also be used by ARM_EXIDX.

llvm-svn: 234139
llvm/include/llvm/MC/MCContext.h
llvm/include/llvm/MC/MCSectionELF.h
llvm/lib/MC/ELFObjectWriter.cpp
llvm/lib/MC/MCContext.cpp