Searched refs:SanitizeFunction (Results 1 – 4 of 4) sorted by relevance
393 bool SanitizeFunction = F.hasFnAttribute(Attribute::SanitizeThread); in runOnFunction() local425 if (ClInstrumentMemoryAccesses && SanitizeFunction) in runOnFunction()437 if (ClInstrumentMemIntrinsics && SanitizeFunction) in runOnFunction()
650 bool SanitizeFunction = F.hasFnAttribute(Attribute::SanitizeMemory); in MemorySanitizerVisitor() local651 InsertChecks = SanitizeFunction; in MemorySanitizerVisitor()652 PropagateShadow = SanitizeFunction; in MemorySanitizerVisitor()653 PoisonStack = SanitizeFunction && ClPoisonStack; in MemorySanitizerVisitor()654 PoisonUndef = SanitizeFunction && ClPoisonUndef; in MemorySanitizerVisitor()657 CheckReturnValue = SanitizeFunction && (F.getName() == "main"); in MemorySanitizerVisitor()
417 bool SanitizeFunction = F.hasFnAttribute(Attribute::SanitizeThread); in runOnFunction() local447 if (ClInstrumentMemoryAccesses && SanitizeFunction) in runOnFunction()459 if (ClInstrumentMemIntrinsics && SanitizeFunction) in runOnFunction()
801 bool SanitizeFunction = F.hasFnAttribute(Attribute::SanitizeMemory); in MemorySanitizerVisitor() local802 InsertChecks = SanitizeFunction; in MemorySanitizerVisitor()803 PropagateShadow = SanitizeFunction; in MemorySanitizerVisitor()804 PoisonStack = SanitizeFunction && ClPoisonStack; in MemorySanitizerVisitor()805 PoisonUndef = SanitizeFunction && ClPoisonUndef; in MemorySanitizerVisitor()808 CheckReturnValue = SanitizeFunction && (F.getName() == "main"); in MemorySanitizerVisitor()