1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02: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:
Etienne Bergeron 2016-09-15 15:35:59 +00:00
parent 4c5566730c
commit 77406a785f

View File

@ -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