Call the destructors of the MCSections.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 26 May 2015 00:32:28 +0000 (00:32 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 26 May 2015 00:32:28 +0000 (00:32 +0000)
commitbe38d7cb8ca1faba6d909ced97c079906e9ce277
tree46e99ead4c5ffb333b7d22d4bf8c1e422ec5a9c8
parent68e7d22de4ab083cc65202e362c868f1214fc5f0
Call the destructors of the MCSections.

They now contain the fragments. If we don't call the destructors the
fragments leak.

Found by an asan bot.

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