Make the section table a member of ELFObjectWriter.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 30 Apr 2015 20:53:27 +0000 (20:53 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 30 Apr 2015 20:53:27 +0000 (20:53 +0000)
commitb65870f3f5c07995bc4e7d30ff4d637593846e64
tree50b02aa74da588925c07bfd04c11ef86c332766a
parent4ed1491bc9d47a42df259700cd58348b682c08f8
Make the section table a member of ELFObjectWriter.

This avoids passing it around and lets us build a small helper to add
a section to the table.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236255 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/ELFObjectWriter.cpp