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

Attachment: 0001-Fix-having-a-synthetic-child-of-a-pointer.patch
Description: Binary data

_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to