Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.0.0git
Public Member Functions |Static Public Member Functions |List of all members
llvm::SanitizerCoveragePass Class Reference

This is the ModuleSanitizerCoverage pass used in the new pass manager.More...

#include "llvm/Transforms/Instrumentation/SanitizerCoverage.h"

Inheritance diagram for llvm::SanitizerCoveragePass:
Inheritance graph
[legend]

Public Member Functions

 SanitizerCoveragePass (SanitizerCoverageOptions Options=SanitizerCoverageOptions(),const std::vector< std::string > &AllowlistFiles=std::vector< std::string >(),const std::vector< std::string > &BlocklistFiles=std::vector< std::string >())
 
PreservedAnalyses run (Module &M,ModuleAnalysisManager &AM)
 
- Public Member Functions inherited fromllvm::PassInfoMixin< SanitizerCoveragePass >
void printPipeline (raw_ostream &OS,function_ref<StringRef(StringRef)> MapClassName2PassName)
 

Static Public Member Functions

staticbool isRequired ()
 
- Static Public Member Functions inherited fromllvm::PassInfoMixin< SanitizerCoveragePass >
staticStringRef name ()
 Gets the name of the pass we are mixed into.
 

Detailed Description

This is the ModuleSanitizerCoverage pass used in the new pass manager.

The pass instruments functions for coverage, adds initialization calls to the module for trace PC guards and 8bit counters if they are requested, and appends globals to llvm.compiler.used.

Definition at line30 of fileSanitizerCoverage.h.

Constructor & Destructor Documentation

◆ SanitizerCoveragePass()

llvm::SanitizerCoveragePass::SanitizerCoveragePass(SanitizerCoverageOptions Options =SanitizerCoverageOptions(),
const std::vector< std::string > & AllowlistFiles =std::vector<std::string>(),
const std::vector< std::string > & BlocklistFiles =std::vector<std::string>() 
)
inlineexplicit

Definition at line32 of fileSanitizerCoverage.h.

Referencesllvm::SpecialCaseList::createOrDie(), andllvm::vfs::getRealFileSystem().

Member Function Documentation

◆ isRequired()

staticbool llvm::SanitizerCoveragePass::isRequired()
inlinestatic

Definition at line47 of fileSanitizerCoverage.h.

◆ run()

PreservedAnalyses SanitizerCoveragePass::run(ModuleM,
ModuleAnalysisManagerAM 
)

Definition at line307 of fileSanitizerCoverage.cpp.

Referencesllvm::PreservedAnalyses::abandon(),llvm::PreservedAnalyses::all(),F,FAM,llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(),MAM, andllvm::PreservedAnalyses::none().


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

Generated on Sun Jul 20 2025 19:49:30 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp