Avoid an extra walk over the sections just to assign sections to groups.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 28 Apr 2015 21:52:33 +0000 (21:52 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 28 Apr 2015 21:52:33 +0000 (21:52 +0000)
commitf23613a3cdad53a76b9b3eabae06305e1b7c0577
tree0c15e56fd53a56be63e9b3128eefd45c3223e733
parent642098ac590475b3eaaa8e87040b649def2287a9
Avoid an extra walk over the sections just to assign sections to groups.

Assign the sections in the same pass we compute the index.

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