[#llvm-LowerCommentStringPass] = xref:llvm.adoc[llvm]::LowerCommentStringPass :relfileprefix: ../ :mrdocs: Pass that lowers loadtime comment string metadata for supported targets. == Synopsis Declared in `<llvm/Transforms/Utils/LowerCommentStringPass.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class LowerCommentStringPass : public xref:llvm/RequiredPassInfoMixin-047.adoc[RequiredPassInfoMixin<LowerCommentStringPass>] ---- == Description Processes copyright comment strings created by Clang for `#pragma comment(copyright, ...)`. Attaches `!implicit.ref` metadata from every defined function to each `!loadtime_comment` global so backends such as PowerPC AIX can keep the strings alive via `.ref` relocations. Currently enabled for AIX targets only. == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/RequiredPassInfoMixin-047.adoc[RequiredPassInfoMixin<LowerCommentStringPass>]` | A CRTP mix‐in for passes that should not be skipped. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/LowerCommentStringPass/run.adoc[`run`] | Run the lower‐comment‐string pass over the module. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/LowerCommentStringPass/isRequired.adoc[`isRequired`] | Return true; required passes cannot be skipped. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#