LLVM 22.0.0git
|
A module pass for tsan instrumentation. More...
#include "llvm/Transforms/Instrumentation/ThreadSanitizer.h"
Public Member Functions | |
LLVM_ABI PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
Public Member Functions inherited from llvm::PassInfoMixin< ModuleThreadSanitizerPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< ModuleThreadSanitizerPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. |
A module pass for tsan instrumentation.
Create ctor and init functions.
Definition at line 36 of file ThreadSanitizer.h.
|
inlinestatic |
Definition at line 39 of file ThreadSanitizer.h.
PreservedAnalyses ModuleThreadSanitizerPass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM ) |
Definition at line 195 of file ThreadSanitizer.cpp.
References llvm::PreservedAnalyses::all(), llvm::checkIfAlreadyInstrumented(), MAM, and llvm::PreservedAnalyses::none().