vfdff wrote:

> It report error **Access tag metadata must have either 4 or 5 operands** with 
> CGM.getTBAATypeInfo(Context.IntTy)
> 
> ```
> p MDHelper.createTBAAScalarTypeNode("int", RootMD)
>   <0xaaaabe1f62a8> = !{!"int", <0xaaaabddc68f8>, i64 0}  -- return a Type 
> descriptors
> p CGF.CGM.getTBAATypeInfo(CGF.getContext().IntTy)
>   <0xaaaabe0c93b8> = !{<0xaaaabddfd208>, i64 4, !"int"}  --  Is it a new 
> path-tbaa?
> ```

Oh, it works fine when I delete the option **-Xclang -new-struct-path-tbaa**

https://github.com/llvm/llvm-project/pull/96025
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to