[all-commits] [llvm/llvm-project] b1509d: [AIX] XFAIL CodeGen/Generic/externally_available.ll

jsji via All-commits all-commits at lists.llvm.org
Thu May 13 06:25:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1509d067e426bb8451bba789e34c4e65a168aba
      https://github.com/llvm/llvm-project/commit/b1509d067e426bb8451bba789e34c4e65a168aba
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2021-05-13 (Thu, 13 May 2021)

  Changed paths:
    M llvm/test/CodeGen/Generic/externally_available.ll

  Log Message:
  -----------
  [AIX] XFAIL CodeGen/Generic/externally_available.ll

    Globals with “available_externally” linkage should never be emitted into the
    object file corresponding to the LLVM module.

    However, AIX system assembler default print error for undefined reference .
    so AIX chose to emit the available externally symbols into .s,
    so that users won't run into errors in situations like:

    clang -target powerpc-ibm-aix -xc -<<<$'extern inline
    __attribute__((__gnu_inline__)) void foo() {}\nvoid bar() { foo(); }' -O
    -Xclang -disable-llvm-passes

Reviewed By: hubert.reinterpretcast

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




More information about the All-commits mailing list