[libcxx-commits] [libcxx] [libc++][AIX] Enable LIBCPP_SHARED_PTR_DEFINE_LEGACY_INLINE_FUNCTIONS on AIX (PR #179784)

Xing Xue via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 10 10:02:56 PST 2026


xingxue-ibm wrote:

> Does that mean the reasoning in the comment that the functions inside the dylib and inline functions not working together was (is?) wrong for XCOFF?

The AIX linker used to emit errors when linking an object file that contained (inline) function definitions with hidden visibility against a dylib exporting the same functions (such as when visibility options such as `-fvisibility-inlines-hidden` were used). The newer linker no longer has this issue.

https://github.com/llvm/llvm-project/pull/179784


More information about the libcxx-commits mailing list