From 0ed248a5c5d27f75413e1f64d672b8f4fa196a4a Mon Sep 17 00:00:00 2001 From: Yong He Date: Sat, 4 Nov 2017 15:17:57 -0400 Subject: Natvis file update for improved debugging view of IR constructs --- source/slang/slang.natvis | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/source/slang/slang.natvis b/source/slang/slang.natvis index 31ffa5e80..5bf8a1b09 100644 --- a/source/slang/slang.natvis +++ b/source/slang/slang.natvis @@ -35,8 +35,25 @@ {{name={(char*)((*name).text.buffer.pointer+1), s} loc={loc.raw}}} - - + + {{{op}}} + + op + type + (Slang::IRInst*)this + (Slang::IRDeclRef*)this + (Slang::IRFunc*)this + (Slang::IRBlock*)this + "-------" + + firstUse + nextUse + usedValue + + + + + {{{op}}} op @@ -65,4 +82,19 @@ firstBlock + + + {{IRDeclRef {declRef}}} + + op + declRef + + + + {{IRUse {usedValue}}} + + nextUse + usedValue + + \ No newline at end of file -- cgit v1.2.3