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

Raul Tambre via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 24 13:23:55 PDT 2022


tambre added inline comments.


================
Comment at: clang/docs/ReleaseNotes.rst:95-96
+- The builtin function __builtin_dump_struct would crash clang when the target 
+  struct have bitfield. Now it fixed, and __builtin_dump_struct support dump
+  the bitwidth of bitfields.
+  This fixes `Issue 54462 <https://github.com/llvm/llvm-project/issues/54462>`_.
----------------
Though I'd split the note about supporting dumping of bitfield widths into a separate point.


================
Comment at: clang/docs/ReleaseNotes.rst:144
+  
+  - Improve the dump format, dump both bitwidth(if its a bitfield) and field value.
+
----------------



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