[llvm-bugs] [Bug 52324] New: Add support for custom char8_t types with different name

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 26 17:03:31 PDT 2021


            Bug ID: 52324
           Summary: Add support for custom char8_t types with different
           Product: lldb
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: contact at lsferreira.net
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

Currently for UTF-16 and UTF-32 types that are recognized by the DWARF encoding
tags without `char16_t` and `char32_t` names respectively are recognized, but
other names different than `char8_t` are not. To support the same behaviour of
the previous encodings, DWARF encoding tags should be taken to consideration
before fallback into the type name.

Clang TypeSystem recognizes BuiltinType::Char8 when the encoding attribute is
present but eFormatUnicode8 format is not returned in that situation, but it

A patch was submitted to fix this issue: https://reviews.llvm.org/D112564

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211027/e92d2087/attachment.html>

More information about the llvm-bugs mailing list