[clang] [llvm] [PowerPC][AIX] Support #pragma comment copyright for AIX (PR #178184)

Hubert Tong via cfe-commits cfe-commits at lists.llvm.org
Sat May 9 09:54:40 PDT 2026


================
@@ -6819,6 +6819,29 @@ The ``#pragma comment(lib, ...)`` directive is supported on all ELF targets.
 The second parameter is the library name (without the traditional Unix prefix of
 ``lib``).  This allows you to provide an implicit link of dependent libraries.
 
+Embedding Copyright Information on AIX
+======================================
+Clang supports the ``#pragma comment(copyright, "string")`` directive on AIX
----------------
hubert-reinterpretcast wrote:

As this talks about the relationship between the compiler and the target platform, I believe "for" is correct.
```suggestion
Clang supports the ``#pragma comment(copyright, "string")`` directive for AIX
```

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


More information about the cfe-commits mailing list