Pass that lowers loadtime comment string metadata for supported targets.

Synopsis

Declared in <llvm/Transforms/Utils/LowerCommentStringPass.h>

class LowerCommentStringPass
    : public 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

Name

Description

RequiredPassInfoMixin<LowerCommentStringPass>

A CRTP mix‐in for passes that should not be skipped.

Member Functions

Name

Description

run

Run the lower‐comment‐string pass over the module.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs