================ @@ -6641,6 +6623,37 @@ 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 +targets. This directive embeds a copyright or identifying string into the +compiled object file so that the string survives into shared libraries and +executables. The directive is silently ignored on non-AIX targets. + +.. code-block:: c + + #pragma comment(copyright, "string-literal") + +The *string-literal* may be any ordinary string constant, including +concatenated string literals. The directive may appear at file scope; it is ---------------- hubert-reinterpretcast wrote:
> I suppose the next question is how numeric escape sequences are interpreted. In the traditional z/OS implementation that interprets escape sequences, the numeric escape sequences are interpreted as IBM-1047 code unit values, which is consistent with its use of IBM-1047 for the output. In the newest IBM LLVM-based product, the numeric escape sequences appear to be interpreted as UTF-8 code unit values. I believe this behaviour is erroneous. https://github.com/llvm/llvm-project/pull/178184 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
