reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1982 Module &M = *G->getParent(); 1983 Comdat *C = G->getComdat(); 1985 if (!G->hasName()) { 1988 assert(G->hasLocalLinkage()); 1989 G->setName(Twine(kAsanGenPrefix) + "_anon_global"); 1992 if (!InternalSuffix.empty() && G->hasLocalLinkage()) { 1993 std::string Name = G->getName(); 1997 C = M.getOrInsertComdat(G->getName()); 2005 if (G->hasPrivateLinkage()) 2006 G->setLinkage(GlobalValue::InternalLinkage); 2008 G->setComdat(C); 2011 assert(G->hasComdat()); 2012 Metadata->setComdat(G->getComdat());