[PATCH] D98946: [AIX][TLS] Add support for TLS variables to XCOFF object writer
Victor Huang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 22 09:07:03 PDT 2021
NeHuang added inline comments.
================
Comment at: llvm/lib/MC/XCOFFObjectWriter.cpp:314
+ case XCOFF::XMC_UL:
+ assert(XCOFF::XTY_SD != MCSec->getCSectType() &&
+ "Mapping invalid csect. CSECT with tbss storage class must not be "
----------------
DiggerLin wrote:
> should be
> XCOFF::XTY_CM == MCSec->getCSectType() ?
For the TLS external reference case, we are setting SMC to `XCOFF::XMC_UL` with the csect type of ER in the function `TargetLoweringObjectFileXCOFF::getSectionForExternalReference`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98946/new/
https://reviews.llvm.org/D98946
More information about the llvm-commits
mailing list