[clang] [llvm] [ThinLTO] Support dead RTTI data elimination under -fno-split-lto-unit (PR #126336)

via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 13 19:45:39 PST 2025


luxufan wrote:

> Taking a further look shows these preserved RTTIs come from vtables whose superclass has its type-id accessed.

Thank you for helping evaluate this patch. I am curious about what this type ID is used for—is it for dynamic_cast, exception handling, or the typeid operator?

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


More information about the cfe-commits mailing list