From 1b581d7899a5c9be76d97534cf14344000f8d40c Mon Sep 17 00:00:00 2001 From: Jakub Mazurkiewicz Date: Thu, 12 Mar 2026 13:11:51 +0100 Subject: [PATCH 1/2] `STL.natvis`: add `layout_stride::mapping` visualizer --- stl/debugger/STL.natvis | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/stl/debugger/STL.natvis b/stl/debugger/STL.natvis index 6c83247c72..763e1c200c 100644 --- a/stl/debugger/STL.natvis +++ b/stl/debugger/STL.natvis @@ -2299,6 +2299,14 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + + {{ rank={extents_type::_Rank}, rank_dynamic={extents_type::_Rank_dynamic} }} + + this->_Exts + this->_Array + + + From f70576f0244ecbd49630c6fda0310f35a0dd45ef Mon Sep 17 00:00:00 2001 From: Jakub Mazurkiewicz Date: Thu, 12 Mar 2026 13:26:53 +0100 Subject: [PATCH 2/2] `STL.natvis`: fix indentation in `extents`'s visualizer --- stl/debugger/STL.natvis | 42 ++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/stl/debugger/STL.natvis b/stl/debugger/STL.natvis index 763e1c200c..81b59ee747 100644 --- a/stl/debugger/STL.natvis +++ b/stl/debugger/STL.natvis @@ -2275,27 +2275,27 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - - - - - - - *dynptr - ++idx, ++dynptr - - - - - - - - - - ($T1) *statptr - ++idx, ++statptr - - + + + + + + + *dynptr + ++idx, ++dynptr + + + + + + + + + + ($T1) *statptr + ++idx, ++statptr + +