[all-commits] [llvm/llvm-project] e59269: [XCOFF][AIX] Use unique section names for LSDA and...

xingxue-ibm via All-commits all-commits at lists.llvm.org
Thu May 5 06:03:22 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5926906eb1afd7ddacc1461296267b8d62da895
  Author: Xing Xue <xingxue at outlook.com>
  Date:   2022-05-05 (Thu, 05 May 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
    M llvm/include/llvm/MC/MCSectionXCOFF.h
    M llvm/lib/CodeGen/AsmPrinter/AIXException.cpp
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/test/CodeGen/PowerPC/aix-exception.ll

  Log Message:
  [XCOFF][AIX] Use unique section names for LSDA and EH info sections with -ffunction-sections

When -ffunction-sections is on, this patch makes the compiler to generate unique LSDA and EH info sections for functions on AIX by appending the function name to the section name as a suffix. This will allow the AIX linker to garbage-collect unused function.

Reviewed by: MaskRay, hubert.reinterpretcast

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

More information about the All-commits mailing list