[lldb-dev] Missing Value Formats for wchar_t* and char16_t*

Ben Ruthig via lldb-dev lldb-dev at lists.llvm.org
Fri Aug 10 10:31:11 PDT 2018


Friendly ping on this?

On Fri, Jul 27, 2018 at 11:49 AM Ben Ruthig <bruthig at google.com> wrote:

> Hi,
>
> The list of Var Formats supported <https://lldb.llvm.org/varformats.html> by
> LLDB appears to be missing ones for wchar_t* and char16_t data types.  I am
> aware that LLDB includes built in summary providers for said types, however
> the application in question uses some magic with a custom Data* to allow
> the underlying data type to be defined dynamically at run time.  Thus, LLDB
> is not able to infer that the actual data type is a wchar_t* and the
> desired summary provider is not used.
>
> I just wanted to see if there was already a way to accomplish this or if
> not, whether a patch to address this would be welcome?
>
> Is it possible to bind my own Named Summary to the same serializer used by
> the built in wchar_t* summary provider?
>
> Thanks,
> Ben
>


-- 
"Sometimes I've believed as many as six impossible things before breakfast"
- Alice in Wonderland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20180810/d8121e28/attachment.html>


More information about the lldb-dev mailing list