clang 20.0.0git
Public Member Functions | List of all members
clang::CodeGen::SanitizerMetadata Class Reference

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/SanitizerMetadata.h"

Public Member Functions

 SanitizerMetadata (CodeGenModule &CGM)
 
void reportGlobal (llvm::GlobalVariable *GV, const VarDecl &D, bool IsDynInit=false)
 
void reportGlobal (llvm::GlobalVariable *GV, SourceLocation Loc, StringRef Name, QualType Ty={}, SanitizerMask NoSanitizeAttrMask={}, bool IsDynInit=false)
 
void disableSanitizerForGlobal (llvm::GlobalVariable *GV)
 

Detailed Description

Definition at line 32 of file SanitizerMetadata.h.

Constructor & Destructor Documentation

◆ SanitizerMetadata()

SanitizerMetadata::SanitizerMetadata ( CodeGenModule CGM)

Definition at line 23 of file SanitizerMetadata.cpp.

Member Function Documentation

◆ disableSanitizerForGlobal()

void SanitizerMetadata::disableSanitizerForGlobal ( llvm::GlobalVariable *  GV)

Definition at line 101 of file SanitizerMetadata.cpp.

References reportGlobal().

◆ reportGlobal() [1/2]

void SanitizerMetadata::reportGlobal ( llvm::GlobalVariable *  GV,
const VarDecl D,
bool  IsDynInit = false 
)

◆ reportGlobal() [2/2]

void SanitizerMetadata::reportGlobal ( llvm::GlobalVariable *  GV,
SourceLocation  Loc,
StringRef  Name,
QualType  Ty = {},
SanitizerMask  NoSanitizeAttrMask = {},
bool  IsDynInit = false 
)

The documentation for this class was generated from the following files: