[PATCH] D58250: [AIX][CMake] Changes for building on AIX with XL and GCC

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 14:34:28 PDT 2019


hubert.reinterpretcast added a comment.

In D58250#1425142 <https://reviews.llvm.org/D58250#1425142>, @joerg wrote:

> Why do you exclude clang? I would expect LLVM at this point to not support visibility attributes on XCOFF either?


The scope of this patch is to enable use of GCC and IBM XL compilers on AIX as build compilers for LLVM. The desired semantic of the line in question is to disable the use of the visibility attribute for GCC. The condition on `__clang__` is meant to prevent gobbling up non-GCC compilers in the check for `__GNUC__`. The consideration of whether `__clang__` should itself be exempted from the use of the visibility attribute on AIX seems premature.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58250/new/

https://reviews.llvm.org/D58250





More information about the llvm-commits mailing list