[Lldb-commits] [PATCH] D136011: [lldb] Don't check environment default char signedness when creating clang type for "char"

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 17 03:26:10 PDT 2022


DavidSpickett added a comment.

> With -f(un)signed-char, the die corresponding to "char" may be the wrong DW_ATE_(un)signed_char.

As the producer of the DWARF (so, clang for example) is this correct by the existing rules?

As I understand it so far, if the compiler is using "char" (no sign chosen) it can use either `DW_ATE_unsigned_char` or `DW_ATE_signed_char`. So lldb cannot trust the choice the compiler made to tell it what plain `char` signedness should be?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136011



More information about the lldb-commits mailing list