mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
Fix silly mistake introduced here : https://reviews.llvm.org/D24566
Asan bots are currently broken without this patch. llvm-svn: 281618
This commit is contained in:
parent
4c5566730c
commit
77406a785f
@ -1883,7 +1883,7 @@ bool AddressSanitizer::runOnFunction(Function &F) {
|
||||
if (&F == AsanCtorFunction) return false;
|
||||
if (F.getLinkage() == GlobalValue::AvailableExternallyLinkage) return false;
|
||||
if (!ClDebugFunc.empty() && ClDebugFunc == F.getName()) return false;
|
||||
if (F.getName().startswith("__asan_") != std::string::npos) return false;
|
||||
if (F.getName().startswith("__asan_")) return false;
|
||||
|
||||
// If needed, insert __asan_init before checking for SanitizeAddress attr.
|
||||
// This function needs to be called even if the function body is not
|
||||
|
Loading…
Reference in New Issue
Block a user