Lines Matching defs:proxy
633 // want the stub/proxy to be emitted for properly calculating the offset.
655 // the vtable. As a general case, we can make a dso_local proxy to the RTTI
657 // GOTPCREL relocation when taking the relative offset to the proxy.
658 llvm::GlobalVariable *proxy = module.getNamedGlobal(rttiProxyName);
659 if (!proxy) {
660 proxy = new llvm::GlobalVariable(module, globalVal->getType(),
663 proxy->setDSOLocal(true);
664 proxy->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
665 if (!proxy->hasLocalLinkage()) {
666 proxy->setVisibility(llvm::GlobalValue::HiddenVisibility);
667 proxy->setComdat(module.getOrInsertComdat(rttiProxyName));
674 RemoveHwasanMetadata(proxy);
676 target = proxy;