Simplify now that symbols contain the correct section.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 29 May 2015 15:07:27 +0000 (15:07 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 29 May 2015 15:07:27 +0000 (15:07 +0000)
commit616c7afb7008b365463e0495ba8c1ec925f10ce4
treef5a9a1e54f5dc56fc381aab399434f1fa2124afa
parent00703e975e64fb7435e854266d9cb6a2b2439e57
Simplify now that symbols contain the correct section.

The complexity in here was because before r233995 variable symbols would report
the incorrect section.

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