clang  16.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)
 
void disableSanitizerForInstruction (llvm::Instruction *I)
 

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)

◆ disableSanitizerForInstruction()

void SanitizerMetadata::disableSanitizerForInstruction ( llvm::Instruction *  I)

Definition at line 105 of file SanitizerMetadata.cpp.

References clang::CodeGen::CodeGenModule::getLLVMContext(), and None.

◆ 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 
)

Definition at line 37 of file SanitizerMetadata.cpp.


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