LLVM
8.0.1
|
A function pass for tsan instrumentation. More...
#include "llvm/Transforms/Instrumentation/ThreadSanitizer.h"
Public Member Functions | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &FAM) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< ThreadSanitizerPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
A function pass for tsan instrumentation.
Instruments functions to detect race conditions reads. This function pass inserts calls to runtime library functions. If the functions aren't declared yet, the pass inserts the declarations. Otherwise the existing globals are
Definition at line 29 of file ThreadSanitizer.h.
PreservedAnalyses ThreadSanitizerPass::run | ( | Function & | F, |
FunctionAnalysisManager & | FAM | ||
) |
Definition at line 148 of file ThreadSanitizer.cpp.
References llvm::PreservedAnalyses::all(), llvm::GlobalValue::getParent(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), INITIALIZE_PASS_BEGIN(), INITIALIZE_PASS_DEPENDENCY, and llvm::PreservedAnalyses::none().