[PATCH] D122822: [Clang][CodeGen]Add constant array support for __builtin_dump_sturct
Wang Yihan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 1 07:59:32 PDT 2022
yihanaa added inline comments.
================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:2052
Types[Context.BoolTy] = "%d";
Types[Context.SignedCharTy] = "%hhd";
Types[Context.UnsignedCharTy] = "%hhu";
----------------
I think this types should have been promoted according to the integer promotions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122822/new/
https://reviews.llvm.org/D122822
More information about the cfe-commits
mailing list