[clang] [TBAA] Only emit pointer tbaa metedata for record types. (PR #116991)

Florian Hahn via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 21 10:48:42 PST 2024


================
@@ -230,6 +243,12 @@ llvm::MDNode *CodeGenTBAA::getTypeInfoHelper(const Type *Ty) {
               ->getString();
       TyName = Name;
     } else {
+      // Be conservative if the type isn't a RecordType. We are  specifically
----------------
fhahn wrote:

Dropped, thanks

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


More information about the cfe-commits mailing list