Home
last modified time | relevance | path

Searched refs:SanitizeFunction (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp340 bool SanitizeFunction = F.hasFnAttribute(Attribute::SanitizeThread); in runOnFunction() local
368 if (ClInstrumentMemoryAccesses && SanitizeFunction) in runOnFunction()
380 if (ClInstrumentMemIntrinsics && SanitizeFunction) in runOnFunction()
DMemorySanitizer.cpp582 bool SanitizeFunction = F.hasFnAttribute(Attribute::SanitizeMemory); in MemorySanitizerVisitor() local
583 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()