Searched refs:NewGlobal (Results 1 – 1 of 1) sorted by relevance
2304 GlobalVariable *NewGlobal = new GlobalVariable( in InstrumentGlobals() local2307 NewGlobal->copyAttributesFrom(G); in InstrumentGlobals()2308 NewGlobal->setComdat(G->getComdat()); in InstrumentGlobals()2309 NewGlobal->setAlignment(MaybeAlign(getMinRedzoneSizeForGlobal())); in InstrumentGlobals()2313 NewGlobal->setUnnamedAddr(GlobalValue::UnnamedAddr::None); in InstrumentGlobals()2320 NewGlobal->setSection("__TEXT,__asan_cstring,regular"); in InstrumentGlobals()2325 NewGlobal->copyMetadata(G, 0); in InstrumentGlobals()2332 ConstantExpr::getGetElementPtr(NewTy, NewGlobal, Indices2, true)); in InstrumentGlobals()2333 NewGlobal->takeName(G); in InstrumentGlobals()2335 NewGlobals[i] = NewGlobal; in InstrumentGlobals()[all …]