Go to the source code of this file.
|
| STATISTIC (NumInstrumentedReads,"Number of instrumented reads") |
|
| STATISTIC (NumInstrumentedWrites,"Number of instrumented writes") |
|
| STATISTIC (NumOmittedReadsBeforeWrite,"Number of reads ignored due to following writes") |
|
| STATISTIC (NumAccessesWithBadSize,"Number of accesses with bad size") |
|
| STATISTIC (NumInstrumentedVtableWrites,"Number of vtable ptr writes") |
|
| STATISTIC (NumInstrumentedVtableReads,"Number of vtable ptr reads") |
|
| STATISTIC (NumOmittedReadsFromConstantGlobals,"Number of reads from constant globals") |
|
| STATISTIC (NumOmittedReadsFromVtable,"Number of vtable reads") |
|
static Function * | checkInterfaceFunction (Constant *FuncOrBitcast) |
|
static bool | isVtableAccess (Instruction *I) |
|
static bool | isAtomic (Instruction *I) |
|
static ConstantInt * | createOrdering (IRBuilder<> *IRB, AtomicOrdering ord) |
|
static ConstantInt * | createFailOrdering (IRBuilder<> *IRB, AtomicOrdering ord) |
|
|
static cl::opt< std::string > | ClBlacklistFile ("tsan-blacklist", cl::desc("Blacklist file"), cl::Hidden) |
|
static cl::opt< bool > | ClInstrumentMemoryAccesses ("tsan-instrument-memory-accesses", cl::init(true), cl::desc("Instrument memory accesses"), cl::Hidden) |
|
static cl::opt< bool > | ClInstrumentFuncEntryExit ("tsan-instrument-func-entry-exit", cl::init(true), cl::desc("Instrument function entry and exit"), cl::Hidden) |
|
static cl::opt< bool > | ClInstrumentAtomics ("tsan-instrument-atomics", cl::init(true), cl::desc("Instrument atomics"), cl::Hidden) |
|
static cl::opt< bool > | ClInstrumentMemIntrinsics ("tsan-instrument-memintrinsics", cl::init(true), cl::desc("Instrument memintrinsics (memset/memcpy/memmove)"), cl::Hidden) |
|
#define DEBUG_TYPE "tsan" |
STATISTIC |
( |
NumInstrumentedReads |
, |
|
|
"Number of instrumented reads" |
|
|
) |
| |
STATISTIC |
( |
NumInstrumentedWrites |
, |
|
|
"Number of instrumented writes" |
|
|
) |
| |
STATISTIC |
( |
NumOmittedReadsBeforeWrite |
, |
|
|
"Number of reads ignored due to following writes" |
|
|
) |
| |
STATISTIC |
( |
NumAccessesWithBadSize |
, |
|
|
"Number of accesses with bad size" |
|
|
) |
| |
STATISTIC |
( |
NumInstrumentedVtableWrites |
, |
|
|
"Number of vtable ptr writes" |
|
|
) |
| |
STATISTIC |
( |
NumInstrumentedVtableReads |
, |
|
|
"Number of vtable ptr reads" |
|
|
) |
| |
STATISTIC |
( |
NumOmittedReadsFromConstantGlobals |
, |
|
|
"Number of reads from constant globals" |
|
|
) |
| |
STATISTIC |
( |
NumOmittedReadsFromVtable |
, |
|
|
"Number of vtable reads" |
|
|
) |
| |
cl::opt<std::string> ClBlacklistFile("tsan-blacklist", cl::desc("Blacklist file"), cl::Hidden) |
|
static |
cl::opt<bool> ClInstrumentAtomics("tsan-instrument-atomics", cl::init(true), cl::desc("Instrument atomics"), cl::Hidden) |
|
static |
cl::opt<bool> ClInstrumentMemIntrinsics("tsan-instrument-memintrinsics", cl::init(true), cl::desc("Instrument memintrinsics (memset/memcpy/memmove)"), cl::Hidden) |
|
static |
cl::opt<bool> ClInstrumentMemoryAccesses("tsan-instrument-memory-accesses", cl::init(true), cl::desc("Instrument memory accesses"), cl::Hidden) |
|
static |