Insert MCSectionData into the section list directly in getOrCreateSectionData.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 25 May 2015 20:39:23 +0000 (20:39 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 25 May 2015 20:39:23 +0000 (20:39 +0000)
commit0d46e8a420d8c0dfa41e80497082adf9866e1e97
tree55f25d7f9e4c51e5a622a2b2a0fc19f3689062e5
parent002c5281ef18de45992708b4a801d55f73e3ce41
Insert MCSectionData into the section list directly in getOrCreateSectionData.

Removing the logic from the constructor will make it easier to merge
MCSectionData and MCSection.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238155 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAssembler.h
lib/MC/MCAssembler.cpp