[all-commits] [llvm/llvm-project] a03a6e: [AIX] [XCOFF] Add support for common and local com...

Zaara Syeda via All-commits all-commits at lists.llvm.org
Wed Jan 31 13:34:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a03a6e99647318a86ea398c42e241da43e3c550e
      https://github.com/llvm/llvm-project/commit/a03a6e99647318a86ea398c42e241da43e3c550e
  Author: Zaara Syeda <95926691+syzaara at users.noreply.github.com>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/lib/MC/MCSectionXCOFF.cpp
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
    M llvm/test/CodeGen/PowerPC/basic-toc-data-local-linkage.ll
    A llvm/test/CodeGen/PowerPC/basic-toc-data-private-linkage.ll
    A llvm/test/CodeGen/PowerPC/toc-data-common.ll

  Log Message:
  -----------
  [AIX] [XCOFF] Add support for common and local common symbols in the TOC (#79530)

This patch adds support for common and local symbols in the TOC for AIX.
Note that we need to update isVirtualSection so as a common symbol in
TOC will have the symbol type XTY_CM and will be initialized when placed
in the TOC so sections with this type are no longer virtual.

---------

Co-authored-by: Zaara Syeda <syzaara at ca.ibm.com>




More information about the All-commits mailing list