[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
Wed Mar 23 09:25:45 PDT 2022


aaron.ballman added a comment.

Thanks for the fix! Can you please add a release note as well?



================
Comment at: clang/test/CodeGen/dump-struct-builtin.c:653
+  // CHECK: call i32 (i8*, ...) @printf(
+   __builtin_dump_struct(&a, &printf);
+}
----------------
Can you add some test coverage for zero-width bit-fields and unnamed bit-fields just to demonstrate how they behave?


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