[clang] [ItaniumCXXABI] Mark RTTI type name as global unnamed_addr (PR #111343)
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 10 11:23:13 PDT 2024
================
@@ -4097,6 +4096,7 @@ llvm::Constant *ItaniumRTTIBuilder::BuildTypeInfo(
// And the name.
llvm::GlobalVariable *TypeName = GetAddrOfTypeName(Ty, Linkage);
llvm::Constant *TypeNameField;
+ llvm::GlobalValue::UnnamedAddr Scope;
----------------
zygoloid wrote:
`Scope` isn't a very clear name here. Maybe rename this to something like `UnnamedAddrScope`?
https://github.com/llvm/llvm-project/pull/111343
More information about the cfe-commits
mailing list