[Lldb-commits] [PATCH] Fix showing children of synthetic providers for void*

Bruce Mitchener bruce.mitchener at gmail.com
Sun Jun 22 08:08:15 PDT 2014


The attached patch addresses an issue that I had when writing synthetic
providers for the Dylan language's C back-end and run-time.

In our code currently, all values are:

  typedef void* dylan_value;

dylan_value is a tagged pointer and so we use it to represent all of our
objects.  I have a synthetic provider that works to provide children where
appropriate (like vectors).  Unfortunately, they don't show up.

As a workaround, I'm looking at converting our codebase to use:

  typedef uintptr_t dylan_value;

With that, or the attached patch, everything works out fine. (Well, there's
a separate bug with ToT, but I'll bring that up later.)

Please consider the attached patch.

 - Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140622/481d01ee/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-having-a-synthetic-child-of-a-pointer.patch
Type: application/octet-stream
Size: 1798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140622/481d01ee/attachment.obj>


More information about the lldb-commits mailing list