[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
Fri Mar 19 06:06:16 PDT 2021


NeHuang created this revision.
NeHuang added a reviewer: NeHuang.
Herald added subscribers: hiraditya, nemanjai.
NeHuang requested review of this revision.
Herald added a project: LLVM.

This patch adds support for TLS variables to the XCOFF object writer by

- Add new TData and TBSS sections
- Add new CsectGroups for the mapping classes XCOFF::XMC_TL and XCOFF::XMC_UL


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98946

Files:
  llvm/lib/MC/XCOFFObjectWriter.cpp
  llvm/test/CodeGen/PowerPC/aix-tls-xcoff-variables-data-sect-off.ll
  llvm/test/CodeGen/PowerPC/aix-tls-xcoff-variables.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98946.331848.patch
Type: text/x-patch
Size: 35015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210319/e575d223/attachment.bin>


More information about the llvm-commits mailing list