1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

[asan] fix lint

llvm-svn: 163205
This commit is contained in:
Kostya Serebryany 2012-09-05 09:00:18 +00:00
parent 6f46bb1705
commit 9330f23483

View File

@ -645,7 +645,7 @@ bool AddressSanitizer::insertGlobalRedzones(Module &M) {
// Determine whether this global should be poisoned in initialization. // Determine whether this global should be poisoned in initialization.
bool GlobalHasDynamicInitializer = HasDynamicInitializer(G); bool GlobalHasDynamicInitializer = HasDynamicInitializer(G);
// Don't check initialization order if this global is blacklisted. // Don't check initialization order if this global is blacklisted.
GlobalHasDynamicInitializer &= ! BL->isInInit(*G); GlobalHasDynamicInitializer &= !BL->isInInit(*G);
StructType *NewTy = StructType::get(Ty, RightRedZoneTy, NULL); StructType *NewTy = StructType::get(Ty, RightRedZoneTy, NULL);
Constant *NewInitializer = ConstantStruct::get( Constant *NewInitializer = ConstantStruct::get(