fhahn added inline comments.

================
Comment at: clang/lib/AST/ItaniumMangle.cpp:3353-3371
+  auto &ASTCtx = getASTContext();
+  unsigned BitWidth = ASTCtx.getTypeSize(ASTCtx.getSizeType());
+  llvm::APSInt Rows(BitWidth);
+  Rows = T->getNumRows();
+  mangleIntegerLiteral(ASTCtx.getSizeType(), Rows);
+  llvm::APSInt Columns(BitWidth);
+  Columns = T->getNumColumns();
----------------
rsmith wrote:
> This mangling doesn't conform to the Itanium ABI rules: you're missing the 
> `I` ... `E` surrounding the template arguments. Also, the ABI rules let you 
> use `u`... manglings now if you want.
Thanks! Unfortunately I didn't get around to updating the code after the update 
to the spec landed, but I just put up a patch to address this: D91253


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72281/new/

https://reviews.llvm.org/D72281

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D72281: [... Richard Smith - zygoloid via Phabricator via cfe-commits
    • [PATCH] D722... Florian Hahn via Phabricator via cfe-commits

Reply via email to