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)
commit8a90d87d763ae0530328827f967bf0611c445f70
treeee49f0cbcda7d9d83d0265a73d88fb10a3c3bc68
parent2baa53ace9c40140f6c7eea23b971e4da42f9350
Avoid an extra walk over the sections just to assign sections to groups.

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

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