reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
268 Type *VoidTy = Type::getVoidTy(M.getContext()); 273 Type *Int64Ty = Type::getInt64Ty(M.getContext()); 364 LLVM_DEBUG(dbgs() << "Init " << M.getName() << "\n"); 365 auto &DL = M.getDataLayout(); 367 TargetTriple = Triple(M.getTargetTriple()); 371 C = &(M.getContext()); 397 M, kHwasanModuleCtorName, kHwasanInitName, 403 Comdat *CtorComdat = M.getOrInsertComdat(kHwasanModuleCtorName); 405 appendToGlobalCtors(M, Ctor, 0, Ctor); 422 Constant *C = M.getOrInsertGlobal("__hwasan_tls", IntptrTy, [&] { 423 auto *GV = new GlobalVariable(M, IntptrTy, /*isConstant=*/false, 427 appendToCompilerUsed(M, GV); 1250 M.getDataLayout().getTypeAllocSize(Initializer->getType()); 1261 auto *NewGV = new GlobalVariable(M, Initializer->getType(), GV->isConstant(), 1291 new GlobalVariable(M, DescriptorTy, true, GlobalValue::PrivateLinkage, 1307 appendToCompilerUsed(M, Descriptor); 1316 GV->getLinkage(), "", Aliasee, &M); 1348 Comdat *NoteComdat = M.getOrInsertComdat(kHwasanNoteName); 1352 new GlobalVariable(M, Int8Arr0Ty, true, GlobalVariable::ExternalLinkage, 1357 new GlobalVariable(M, Int8Arr0Ty, true, GlobalVariable::ExternalLinkage, 1369 new GlobalVariable(M, NoteTy, /*isConstantGlobal=*/true, 1389 appendToCompilerUsed(M, Note); 1394 M, Int8Arr0Ty, /*isConstantGlobal*/ true, GlobalVariable::PrivateLinkage, 1400 appendToCompilerUsed(M, Dummy); 1403 for (GlobalVariable &GV : M.globals()) { 1422 Hasher.update(M.getSourceFileName()); 1443 for (Function &F : M) { 1457 FunctionCallee HwasanPersonalityWrapper = M.getOrInsertFunction( 1460 FunctionCallee UnwindGetGR = M.getOrInsertFunction("_Unwind_GetGR", VoidTy); 1461 FunctionCallee UnwindGetCFA = M.getOrInsertFunction("_Unwind_GetCFA", VoidTy); 1474 ThunkName, &M); 1477 ThunkFn->setComdat(M.getOrInsertComdat(ThunkName));