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

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


https://bugs.llvm.org/show_bug.cgi?id=52324

            Bug ID: 52324
           Summary: Add support for custom char8_t types with different
                    name
           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
should.

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20211027/8d5297ad/attachment.html>


More information about the lldb-dev mailing list