This is an archive of the discontinued LLVM Phabricator instance.

Add MSVC natvis visualisation of llvm::Type
ClosedPublic

Authored by mvhooren on May 4 2020, 8:07 AM.

Details

Summary

llvm::Type has some difficult to decode member variables with different meanings depending on the TypeID. Specifically SubclassData and ContainedTys.
This natvis visualisation decodes and visualises those members.

Diff Detail

Event Timeline

mvhooren created this revision.May 4 2020, 8:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2020, 8:07 AM
mvhooren updated this revision to Diff 261871.May 4 2020, 10:43 AM

Fixed trailing whitespace issue with patch.

aaron.ballman accepted this revision.May 15 2020, 5:17 AM

LGTM, thank you for adding some new visualizers!

This revision is now accepted and ready to land.May 15 2020, 5:17 AM

LGTM, thank you for adding some new visualizers!

Thanks for reviewing! I do not have commit access so if you can find the time, could you please commit this on my behalf?

aaron.ballman closed this revision.May 15 2020, 6:39 AM

I've committed on your behalf in 7063a83a7cca45a9b12a7e447c90abe681f6ebaf, thank you for the patch!