Files
llvm-project/clang/test/CIR/CodeGen/rtti-member-pointer.cpp
Andy Kaylor 5b938b8c03 [CIR] Fix typeinfo linkage and comdat (#192721)
We weren't properly setting the linkage on typeinfo objects, leading to
multiple definition linking error when typeinfo for a class was
referenced in multiple source files. We had the correct linkage
available in the buildTypeInfo function, but we weren't doing anything
with it. This also prevented us from hitting the diagnostic saying that
we should have set the comdat attribute for the typeinfo. This change
fixes both of those problems.
2026-04-17 14:17:21 -07:00

4.7 KiB