clang  14.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 reportGlobalToASan (llvm::GlobalVariable *GV, const VarDecl &D, bool IsDynInit=false)
void reportGlobalToASan (llvm::GlobalVariable *GV, SourceLocation Loc, StringRef Name, QualType Ty, bool IsDynInit=false, bool IsExcluded=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)

◆ reportGlobalToASan() [1/2]

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

◆ reportGlobalToASan() [2/2]

void SanitizerMetadata::reportGlobalToASan ( llvm::GlobalVariable *  GV,
SourceLocation  Loc,
StringRef  Name,
QualType  Ty,
bool  IsDynInit = false,
bool  IsExcluded = false 

Definition at line 31 of file SanitizerMetadata.cpp.

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