Avoid an extra loop over the sections.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 30 Apr 2015 20:57:14 +0000 (20:57 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 30 Apr 2015 20:57:14 +0000 (20:57 +0000)
commit494f112fbc67f053f2e11d0d1397da30c07d1a99
treea2489c9307f81d95a41683ca2f571750ddcee2b5
parentb65870f3f5c07995bc4e7d30ff4d637593846e64
Avoid an extra loop over the sections.

Add string to the section header string table as we add sections.

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