Lines Matching defs:VTT
41 CodeGenVTables::EmitVTTDefinition(llvm::GlobalVariable *VTT,
104 VTT->setInitializer(Init);
107 VTT->setLinkage(Linkage);
109 if (CGM.supportsCOMDAT() && VTT->isWeakForLinker())
110 VTT->setComdat(CGM.getModule().getOrInsertComdat(VTT->getName()));
112 // Set the visibility. This will already have been set on the VTT declaration.
115 CGM.setGVProperties(VTT, RD);
119 assert(RD->getNumVBases() && "Only classes with virtual bases need a VTT");
127 // This will also defer the definition of the VTT.