15#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_SANITIZERCOVERAGE_H
16#define LLVM_TRANSFORMS_INSTRUMENTATION_SANITIZERCOVERAGE_H
34 const std::vector<std::string> &AllowlistFiles =
35 std::vector<std::string>(),
36 const std::vector<std::string> &BlocklistFiles =
37 std::vector<std::string>())
39 if (AllowlistFiles.size() > 0)
42 if (BlocklistFiles.size() > 0)
52 std::unique_ptr<SpecialCaseList> Allowlist;
53 std::unique_ptr<SpecialCaseList> Blocklist;
This header defines various interfaces for pass management in LLVM.
Machine Check Debug Module
Defines the virtual file system interface vfs::FileSystem.
A container for analyses that lazily runs them and caches their results.
A Module instance is used to store all the information related to an LLVM module.
A set of analyses that are preserved following a run of a transformation pass.
This is the ModuleSanitizerCoverage pass used in the new pass manager.
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)
static std::unique_ptr< SpecialCaseList > createOrDie(const std::vector< std::string > &Paths, llvm::vfs::FileSystem &FS)
Parses the special case list entries from files.
IntrusiveRefCntPtr< FileSystem > getRealFileSystem()
Gets an vfs::FileSystem for the 'real' file system, as seen by the operating system.
This is an optimization pass for GlobalISel generic memory operations.
A CRTP mix-in to automatically provide informational APIs needed for passes.