Home | History | Annotate | Download | only in Instrumentation

Lines Matching refs:Globals

159 // This flag may need to be replaced with -f[no]asan-globals.
160 static cl::opt<bool> ClGlobals("asan-globals",
207 static cl::opt<bool> ClOptGlobals("asan-opt-globals",
208 cl::desc("Don't instrument scalar globals"),
291 NamedMDNode *Globals = M.getNamedMetadata("llvm.asan.globals");
292 if (!Globals) return;
293 for (auto MDN : Globals->operands()) {
400 // Redzone used for stack and globals is at least 32 bytes.
1156 // Add a call to poison all external globals before the given function starts.
1160 // Add calls to unpoison all globals before each return instruction.
1194 // Touch only those globals that will not be defined in other modules.
1212 // Globals from llvm.metadata aren't emitted, do not instrument them.
1214 // Do not instrument globals from special LLVM sections.
1242 // Ignore the globals from the __OBJC section. The ObjC runtime assumes
1283 // Declare functions that register/unregister globals.
1301 for (auto &G : M.globals()) {
1412 // We also need to unregister globals at the end, e.g. when a shared library
1438 // TODO(glider): temporarily disabled globals instrumentation for KASan.