Searched refs:SanitizeFunction (Results 1 – 2 of 2) sorted by relevance
340 bool SanitizeFunction = F.hasFnAttribute(Attribute::SanitizeThread); in runOnFunction() local368 if (ClInstrumentMemoryAccesses && SanitizeFunction) in runOnFunction()380 if (ClInstrumentMemIntrinsics && SanitizeFunction) in runOnFunction()
582 bool SanitizeFunction = F.hasFnAttribute(Attribute::SanitizeMemory); in MemorySanitizerVisitor() local583 InsertChecks = SanitizeFunction; in MemorySanitizerVisitor()584 PropagateShadow = SanitizeFunction; in MemorySanitizerVisitor()585 PoisonStack = SanitizeFunction && ClPoisonStack; in MemorySanitizerVisitor()586 PoisonUndef = SanitizeFunction && ClPoisonUndef; in MemorySanitizerVisitor()589 CheckReturnValue = SanitizeFunction && (F.getName() == "main"); in MemorySanitizerVisitor()