[all-commits] [llvm/llvm-project] e83b8a: [XCOFF] Enable available_externally linkage for fu...

Esme via All-commits all-commits at lists.llvm.org
Tue Jul 25 19:48:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e83b8a5e711a663c44e80965da5c747e08dea497
      https://github.com/llvm/llvm-project/commit/e83b8a5e711a663c44e80965da5c747e08dea497
  Author: esmeyi <esme.yi at ibm.com>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    A llvm/test/CodeGen/PowerPC/aix-available-externally-linkage-fun.ll

  Log Message:
  -----------
  [XCOFF] Enable available_externally linkage for functions.

Summary: D80642 added support for emitting AvailableExternally Linkage on AIX. However, an assertion of "Trying to get csect representation of this symbol but none was set." occurred when a function is declared as available_externally. This is due to we missing to generate a csect for the function. This patch fixes it.

Reviewed By: hubert.reinterpretcast, shchenz

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

Signed-off-by: Esme Yi <esme.yi at ibm.com>




More information about the All-commits mailing list