Lines Matching full:instrument
55 "tsan-instrument-memory-accesses", cl::init(true),
56 cl::desc("Instrument memory accesses"), cl::Hidden);
58 ClInstrumentFuncEntryExit("tsan-instrument-func-entry-exit", cl::init(true),
59 cl::desc("Instrument function entry and exit"),
65 static cl::opt<bool> ClInstrumentAtomics("tsan-instrument-atomics",
67 cl::desc("Instrument atomics"),
70 "tsan-instrument-memintrinsics", cl::init(true),
71 cl::desc("Instrument memintrinsics (memset/memcpy/memmove)"), cl::Hidden);
77 "tsan-instrument-read-before-write", cl::init(false),
102 /// ThreadSanitizer: instrument the code in module to find races.
114 "when -tsan-instrument-read-before-write is set.\n"; in ThreadSanitizer()
351 // Do not instrument known races/"benign races" that come from compiler
368 // Do not instrument accesses from different address spaces; we cannot deal in shouldInstrumentReadWriteFromAddress()
458 // Instrument this instruction. in chooseInstructionsToInstrument()
496 // (__tsan_func_entry/__tsan_func_exit) generated, so don't instrument them at in sanitizeFunction()
544 // Instrument memory accesses only if we want to report bugs in the function. in sanitizeFunction()
550 // Instrument atomic memory accesses in any case (they can be used to in sanitizeFunction()
568 // Instrument function entry/exit points if there were instrumented accesses. in sanitizeFunction()
678 // So, we either need to ensure the intrinsic is not inlined, or instrument it.
679 // We do not instrument memset/memmove/memcpy intrinsics (too complicated),