[all-commits] [llvm/llvm-project] 04dc96: [XCOFF][AIX] Enable -ffunction-sections

jasonliudev via All-commits all-commits at lists.llvm.org
Thu Jul 30 06:30:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 04dc9691ebef740cc8dc85e9a5d7a3e1ed595765
      https://github.com/llvm/llvm-project/commit/04dc9691ebef740cc8dc85e9a5d7a3e1ed595765
  Author: jasonliu <jasonliu.development at gmail.com>
  Date:   2020-07-30 (Thu, 30 Jul 2020)

  Changed paths:
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    A llvm/test/CodeGen/PowerPC/aix-xcoff-funcsect.ll

  Log Message:
  -----------
  [XCOFF][AIX] Enable -ffunction-sections

Summary:
This patch implements -ffunction-sections on AIX.
This patch focuses on assembly generation.
Follow-on patch needs to handle:
1. -ffunction-sections implication for jump table.
2. Object file generation path and associated testing.

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




More information about the All-commits mailing list