Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp393 bool SanitizeFunction = F.hasFnAttribute(Attribute::SanitizeThread); in runOnFunction() local
425 if (ClInstrumentMemoryAccesses && SanitizeFunction) in runOnFunction()
437 if (ClInstrumentMemIntrinsics && SanitizeFunction) in runOnFunction()
DMemorySanitizer.cpp650 bool SanitizeFunction = F.hasFnAttribute(Attribute::SanitizeMemory); in MemorySanitizerVisitor() local
651 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp417 bool SanitizeFunction = F.hasFnAttribute(Attribute::SanitizeThread); in runOnFunction() local
447 if (ClInstrumentMemoryAccesses && SanitizeFunction) in runOnFunction()
459 if (ClInstrumentMemIntrinsics && SanitizeFunction) in runOnFunction()
DMemorySanitizer.cpp801 bool SanitizeFunction = F.hasFnAttribute(Attribute::SanitizeMemory); in MemorySanitizerVisitor() local
802 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()