[all-commits] [llvm/llvm-project] f98567: [AIX][TLS] Add support for TLS variables to XCOFF ...

Victor Huang via All-commits all-commits at lists.llvm.org
Tue Apr 6 08:47:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f98567b3fecb2d0efe390f7c3f309333287d9398
      https://github.com/llvm/llvm-project/commit/f98567b3fecb2d0efe390f7c3f309333287d9398
  Author: Victor Huang <wei.huang at ibm.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    A llvm/test/CodeGen/PowerPC/aix-tls-xcoff-variables.ll
    M llvm/tools/llvm-readobj/XCOFFDumper.cpp

  Log Message:
  -----------
  [AIX][TLS] Add support for TLS variables to XCOFF object writer

This patch adds support for TLS variables to the XCOFF object writer:
- Add TData and TBSS sections
- Add CsectGroups for the mapping classes XCOFF::XMC_TL and XCOFF::XMC_UL
- Add XMC_UL in the enum entry of CsectStorageMapping class to print the string
  while reading the symbol properties for TLS variables
- Fix the starting address of TData and TBSS sections

Reviewed by: hubert.reinterpretcast, DiggerLin

Differential Revision: https://reviews.llvm.org/D98946




More information about the All-commits mailing list