Lines Matching full:instrument

211 static cl::opt<bool> ClInstrumentReads("asan-instrument-reads",
212 cl::desc("instrument read instructions"),
216 "asan-instrument-writes", cl::desc("instrument write instructions"),
225 "asan-instrument-atomics",
226 cl::desc("instrument atomic instructions (rmw, cmpxchg)"), cl::Hidden,
230 ClInstrumentByval("asan-instrument-byval",
231 cl::desc("instrument byval call arguments"), cl::Hidden,
262 cl::desc("maximal number of instructions to instrument in any given BB"),
309 cl::desc("Instrument <, <=, >, >=, - with pointer operands"), cl::Hidden,
314 cl::desc("Instrument <, <=, >, >= with pointer operands"), cl::Hidden,
319 cl::desc("Instrument - operations with pointer operands"), cl::Hidden,
345 ClInstrumentDynamicAllocas("asan-instrument-dynamic-allocas",
346 cl::desc("instrument dynamic allocas"),
351 cl::desc("Do not instrument promotable allocas"), cl::Hidden,
385 "asan-opt-same-temp", cl::desc("Instrument the same temp just once"),
389 cl::desc("Don't instrument scalar globals"),
393 "asan-opt-stack", cl::desc("Don't instrument scalar stack variables"),
714 /// AddressSanitizer: instrument the code in module to find memory bugs.
1289 // Do not instrument @llvm.global_ctors, @llvm.used, etc. in GlobalWasGeneratedByCompiler()
1291 // Do not instrument gcov counter arrays. in GlobalWasGeneratedByCompiler()
1293 // Do not instrument rtti proxy symbols for function sanitizer. in GlobalWasGeneratedByCompiler()
1297 // Do not instrument asan globals. in GlobalWasGeneratedByCompiler()
1330 // Instrument memset/memmove/memcpy
1377 // Instrument accesses from different address spaces only for AMDGPU. in ignoreAccess()
1406 // Do not instrument the load fetching the dynamic shadow address. in getInterestingMemoryOperands()
1568 // have to instrument it. However, if a global does not have initializer in GlobalIsLinkerInitialized()
1597 // Instrument a 1-, 2-, 4-, 8-, or 16- byte access with one check in doInstrumentAddress()
1791 // Do not instrument unsupported addrspaces. in instrumentAMDGPUAddress()
1798 // Instrument generic addresses in supported addressspaces. in instrumentAMDGPUAddress()
1923 // Instrument unusual size or unusual alignment.
1990 // Don't instrument CTORs that will run before asan.module_ctor. in createInitializerPoisonCalls()
2036 // For non-COFF targets, only instrument globals known to be defined by this in shouldInstrumentGlobal()
2038 // FIXME: We can instrument comdat globals on ELF if we are using the in shouldInstrumentGlobal()
2044 // On COFF, don't instrument non-ODR linkages. in shouldInstrumentGlobal()
2069 // that we should not instrument. E.g. the kernel may rely on their layout in shouldInstrumentGlobal()
2076 // Globals from llvm.metadata aren't emitted, do not instrument them. in shouldInstrumentGlobal()
2078 // Do not instrument globals from special LLVM sections. in shouldInstrumentGlobal()
2082 // Do not instrument function pointers to initialization and termination in shouldInstrumentGlobal()
2090 // Do not instrument user-defined sections (with names resembling in shouldInstrumentGlobal()
2864 // Therefore we need to instrument such methods with a call to __asan_init in maybeInsertAsanInitAtFunctionEntry()
2977 // We can't instrument allocas used with llvm.localescape. Only static allocas in instrumentFunction()
2981 // We want to instrument every address only once per basic block (unless there in instrumentFunction()
2990 // Fill the set of memory operations to instrument. in instrumentFunction()
3052 // Instrument. in instrumentFunction()
3090 // Workaround for bug 11395: we don't want to instrument stack in functions
3359 // ASan to instrument. These are moved up before InsBefore, and they're in findStoresToUninstrumentedArgAllocas()