[all-commits] [llvm/llvm-project] f6d209: [AIX][XCOFF] error on emit symbol visibility for X...

David Tenty via All-commits all-commits at lists.llvm.org
Tue Apr 26 16:23:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6d209b3ec4c923f20388e3380099b2b0707f786
      https://github.com/llvm/llvm-project/commit/f6d209b3ec4c923f20388e3380099b2b0707f786
  Author: David Tenty <daltenty at ibm.com>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    M llvm/include/llvm/MC/MCSectionXCOFF.h
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    M llvm/test/CodeGen/PowerPC/aix-xcoff-visibility.ll

  Log Message:
  -----------
  [AIX][XCOFF] error on emit symbol visibility for XCOFF object file

This is a follow on to the revert of D84265 to add an error if we'd need
to write a non-zero visibility type in the xcoff object file. We can't
currently do that because we lack the auxilary header to interpret the
bits in XCOFF32. This is important because visibility is being enabled
in the assembly writing path, and without this error the visibility
could be silently ignored.

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




More information about the All-commits mailing list