[clang] [clang] Inconsistent attributes for `dllexport __cxxabiv1:: __fundamental_type_info` with `-fvisibility=hidden` (PR #215859)

Akash Manna via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 29 10:51:34 PDT 2026


================
@@ -4391,14 +4394,17 @@ llvm::Constant *ItaniumRTTIBuilder::BuildTypeInfo(
 
   // Export the typeinfo in the same circumstances as the vtable is exported.
   auto GVDLLStorageClass = DLLStorageClass;
+  auto GVVisibility = Visibility;
   if (CGM.getTarget().hasPS4DLLImportExport() &&
----------------
akash-manna-sky wrote:

Ok... Now I  moved the `PS4/PS5` block into `BuildTypeInfo(QualType Ty)`, so the 4-arg overload is now purely applicative and `getRTTIVisibility` is gone from it. 

https://github.com/llvm/llvm-project/pull/215859


More information about the cfe-commits mailing list