Lines Matching defs:proxy
656 // want the stub/proxy to be emitted for properly calculating the offset.
678 // the vtable. As a general case, we can make a dso_local proxy to the RTTI
680 // GOTPCREL relocation when taking the relative offset to the proxy.
681 llvm::GlobalVariable *proxy = module.getNamedGlobal(rttiProxyName);
682 if (!proxy) {
683 proxy = new llvm::GlobalVariable(module, globalVal->getType(),
686 proxy->setDSOLocal(true);
687 proxy->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
688 if (!proxy->hasLocalLinkage()) {
689 proxy->setVisibility(llvm::GlobalValue::HiddenVisibility);
690 proxy->setComdat(module.getOrInsertComdat(rttiProxyName));
697 RemoveHwasanMetadata(proxy);
699 target = proxy;