This is an archive of the discontinued LLVM Phabricator instance.

Add a natvis visualizer for VarDecl.
ClosedPublic

Authored by zturner on Jun 25 2014, 5:31 PM.

Details

Summary

Adds a natvis Visualizer for VarDecl. Specifically, this visualizer behaves as follows:

  1. Displays the name of the declaration as the DisplayString
  2. Translates some of the bitfields into their corresponding enumeration values
  3. Converts some of the existing visualizers to deref their pointers, so their DisplayStrings don't show the pointer address (increases verbosity for little gain)

Diff Detail

Repository
rL LLVM

Event Timeline

zturner updated this revision to Diff 10865.Jun 25 2014, 5:31 PM
zturner retitled this revision from to Add a natvis visualizer for VarDecl..
zturner updated this object.
zturner edited the test plan for this revision. (Show Details)
zturner added a reviewer: aaron.ballman.
zturner added a subscriber: Unknown Object (MLST).
aaron.ballman edited edge metadata.Jun 26 2014, 7:12 AM

LGTM!

Thanks!

~Aaron

zturner closed this revision.Jun 26 2014, 9:35 AM
zturner updated this revision to Diff 10889.

Closed by commit rL211788 (authored by @zturner).