From d4249c27b414b592382e3a887b0383d51310794b Mon Sep 17 00:00:00 2001 From: Casey Carter Date: Tue, 29 Aug 2023 17:08:50 -0700 Subject: [PATCH] Revert "`STL.natvis`: Simplify visualization for `mutex`/`recursive_mutex` (#3848)" This reverts commit 9b4a05c39a210825487c2af82d6c927549865fcd. --- stl/debugger/STL.natvis | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/stl/debugger/STL.natvis b/stl/debugger/STL.natvis index a3047ef51d..096e2756d5 100644 --- a/stl/debugger/STL.natvis +++ b/stl/debugger/STL.natvis @@ -1584,11 +1584,15 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - unlocked - locked - - _Mtx_storage._Thread_id - _Mtx_storage._Count + unlocked + locked + unlocked + locked + + *(long *)((char *)(&_Mtx_storage) + 40) + *(long *)((char *)(&_Mtx_storage) + 72) + *(int *)((char *)(&_Mtx_storage) + 44) + *(int *)((char *)(&_Mtx_storage) + 76)