[PATCH] Add some natvis visualizers for llvm::Value, llvm::Type, and llvm::Instruction

Zachary Turner zturner at google.com
Fri Jun 27 09:12:06 PDT 2014


I actually found a few cases where this patch totally messes up the watch
window, so I'm going to hold off on it for now.  I have the basic framework
for DLL-based visualization working locally, I'm going to try to see if I
can get the equivalent of dump() into a watch window entry for a few simple
types.  If that works out I may hold off on this patch entirely in favor of
just getting dump-entries working for all of our types.


On Fri, Jun 27, 2014 at 5:20 AM, Aaron Ballman <aaron.ballman at gmail.com>
wrote:

> On Thu, Jun 26, 2014 at 5:17 PM, Zachary Turner <zturner at google.com>
> wrote:
> > Yea, I'm not sure.  I agree it's annoying, but if you only add SubclassID
> > and then let the rest still be visible through Raw View, it's kind of
> > awkward expanding the node and not seeing anything.  Someone not
> familliar
> > with the natvis stuff woudl think there's something wrong.  I was trying
> to
> > do something like adding a row called SubclassID with the cast value, and
> > then using an <ExpandedItem> to display "this" without the visualizer
> > applied, but I couldn't get that to work.  Do you know how?
>
> I couldn't find a way to make it work either, so I'd say LGTM.
>
> Thank you for working on the visualizers!
>
> ~Aaron
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140627/961f72a9/attachment.html>


More information about the llvm-commits mailing list