[PATCH] D122920: [Clang][CodeGen]Fix __builtin_dump_struct missing record type field name

Wang Yihan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 23 07:14:34 PDT 2022


yihanaa updated this revision to Diff 424718.
yihanaa added a comment.

Optimize the code according to @ rsmith's suggestion, and use analyze_printf::PrintfSpecifier::fixType instead of this static DenseMap to find the printf format specifier.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122920

Files:
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/test/CodeGen/dump-struct-builtin.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122920.424718.patch
Type: text/x-patch
Size: 60990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220423/0608f029/attachment-0001.bin>


More information about the cfe-commits mailing list