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