Searched refs:NewGlobal (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/subzero/src/ |
D | IceASanInstrumentation.cpp | 107 VariableDeclaration *NewGlobal = Global; in instrumentGlobals() local 128 NewGlobal = VariableDeclaration::create(&NewGlobals); in instrumentGlobals() 129 NewGlobal->setName(Global->getName()); in instrumentGlobals() 136 NewGlobal->addInitializer(Init); in instrumentGlobals() 143 NewGlobal->addInitializer(Init); in instrumentGlobals() 149 NewGlobal->addInitializer(Init); in instrumentGlobals() 167 NewGlobal->addInitializer(VariableDeclaration::RelocInitializer::create( in instrumentGlobals() 173 NewGlobal->setIsConstant(Global->getIsConstant()); in instrumentGlobals() 176 NewGlobal->setAlignment(Alignment); in instrumentGlobals() 188 NewGlobals.push_back(NewGlobal); in instrumentGlobals() [all …]
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 1469 GlobalVariable *NewGlobal = in InstrumentGlobals() local 1472 NewGlobal->copyAttributesFrom(G); in InstrumentGlobals() 1473 NewGlobal->setAlignment(MinRZ); in InstrumentGlobals() 1480 ConstantExpr::getGetElementPtr(NewTy, NewGlobal, Indices2, true)); in InstrumentGlobals() 1481 NewGlobal->takeName(G); in InstrumentGlobals() 1493 GlobalValue *InstrumentedGlobal = NewGlobal; in InstrumentGlobals() 1500 NameForGlobal + M.getName(), NewGlobal); in InstrumentGlobals() 1508 NewGlobal->getThreadLocalMode()); in InstrumentGlobals() 1511 ODRIndicatorSym->setVisibility(NewGlobal->getVisibility()); in InstrumentGlobals() 1512 ODRIndicatorSym->setDLLStorageClass(NewGlobal->getDLLStorageClass()); in InstrumentGlobals() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 2120 GlobalVariable *NewGlobal = in InstrumentGlobals() local 2123 NewGlobal->copyAttributesFrom(G); in InstrumentGlobals() 2124 NewGlobal->setAlignment(MinRZ); in InstrumentGlobals() 2131 NewGlobal->setSection("__TEXT,__asan_cstring,regular"); in InstrumentGlobals() 2139 NewGlobal->addDebugInfo(GV); in InstrumentGlobals() 2146 ConstantExpr::getGetElementPtr(NewTy, NewGlobal, Indices2, true)); in InstrumentGlobals() 2147 NewGlobal->takeName(G); in InstrumentGlobals() 2149 NewGlobals[i] = NewGlobal; in InstrumentGlobals() 2160 GlobalValue *InstrumentedGlobal = NewGlobal; in InstrumentGlobals() 2169 NameForGlobal + M.getName(), NewGlobal); in InstrumentGlobals() [all …]
|