[AIX][TLS] Add assert check of valid csect type for the storage mapping class XCOFF...
authorVictor Huang <wei.huang@ibm.com>
Mon, 8 Mar 2021 20:17:57 +0000 (14:17 -0600)
committerVictor Huang <wei.huang@ibm.com>
Mon, 8 Mar 2021 20:18:57 +0000 (14:18 -0600)
commit621023b21853d711e02a339e9452d78a8687f3d7
tree06248596b935e8880ff12ae4e4080353c1f3a641
parent08c709a2664878ca4b460144b75f3d7b5a8c2707
[AIX][TLS] Add assert check of valid csect type for the storage mapping class XCOFF::XMC_UL

This patch adds the assert check inside the constructor for the csect (MCSectionXCOFF) to ensure
valid csect type used for the storage mappping class XCOFF:XMC_UL.
llvm/include/llvm/MC/MCSectionXCOFF.h