[all-commits] [llvm/llvm-project] a2505b: [PowerPC][AIX] Override markFunctionEnd()

Sean Fertile via All-commits all-commits at lists.llvm.org
Tue Jan 25 07:09:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2505bd063e7949e2f0d892d85dec360fb28c702
      https://github.com/llvm/llvm-project/commit/a2505bd063e7949e2f0d892d85dec360fb28c702
  Author: Sean Fertile <sd.fertile at gmail.com>
  Date:   2022-01-25 (Tue, 25 Jan 2022)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AIXException.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfException.h
    A llvm/test/CodeGen/PowerPC/aix-ehinfo-sym.ll

  Log Message:
  -----------
  [PowerPC][AIX] Override markFunctionEnd()

During fast-isel calling 'markFunctionEnd' in the base class will call
tidyLandingPads. This can cause an issue where we have determined that
we need ehinfo and emitted a traceback table with the bits set to
indicate that we will be emitting the ehinfo, but the tidying deletes
all landing pads. In this case we end up emitting a reference to
__ehinfo.N symbol, but not emitting a definition to said symbol and the
resulting file fails to assemble.

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




More information about the All-commits mailing list