Pass that lowers loadtime comment string metadata for supported targets.
Declared in <llvm/Transforms/Utils/LowerCommentStringPass.h>
class LowerCommentStringPass
: public RequiredPassInfoMixin<LowerCommentStringPass>
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.
| Name | Description |
|---|---|
RequiredPassInfoMixin<LowerCommentStringPass> | A CRTP mix-in for passes that should not be skipped. |
| Name | Description |
|---|---|
run | Run the lower-comment-string pass over the module. |
| Name | Description |
|---|---|
isRequired | Return true; required passes cannot be skipped. |