[PATCH] D122248: [clang][CodeGen]Fix clang crash and add bitfield support in __builtin_dump_struct

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 24 11:59:34 PDT 2022


aaron.ballman accepted this revision.
aaron.ballman added a comment.

LGTM aside from a tiny nit with one of the release notes.



================
Comment at: clang/docs/ReleaseNotes.rst:140-144
+- Improve __builtin_dump_struct:
+
+  - Support bitfields in struct and union.
+  
+  - Improve the dump format, dump both bitwidth(if its a bitfield) and field value.
----------------
Er, this is a builtin and not an attribute, so I'd put it under the "Non-comprehensive list of changes in this release" heading instead.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122248



More information about the cfe-commits mailing list