From 2b1cbcd6c73c7aac629e8a8d79fb5c1c66b26d51 Mon Sep 17 00:00:00 2001 From: Bruce Forstall Date: Tue, 8 Jun 2021 22:48:46 -0700 Subject: [PATCH] Improve clrjit.natvis (#53910) 1. Add LclFld output: same as LclVar plus offset 2. Remove extra trailing GenTree brace --- src/coreclr/jit/clrjit.natvis | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/coreclr/jit/clrjit.natvis b/src/coreclr/jit/clrjit.natvis index 779991ff203..90a9ff703a4 100644 --- a/src/coreclr/jit/clrjit.natvis +++ b/src/coreclr/jit/clrjit.natvis @@ -24,7 +24,7 @@ The .NET Foundation licenses this file to you under the MIT license. - [{gtOper,en}, {gtType,en}}] + [{gtOper,en}, {gtType,en}] [IntCon={((GenTreeIntCon*)this)->gtIconVal, d}] @@ -55,6 +55,10 @@ The .NET Foundation licenses this file to you under the MIT license. [{gtOper,en}, {gtType,en} V{((GenTreeLclVar*)this)->_gtLclNum,u}] + + [{gtOper,en}, {gtType,en} V{((GenTreeLclFld*)this)->_gtLclNum,u}[+{((GenTreeLclFld*)this)->m_lclOffs,u}]] + + LinearScan -- GitLab