From 7434a9e1183f00484ace1b9e77fcb1178f111138 Mon Sep 17 00:00:00 2001 From: Johnny Shaw Date: Fri, 1 Nov 2024 21:45:42 -0600 Subject: [PATCH] more natvis --- radiant/Rad.natvis | 179 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 170 insertions(+), 9 deletions(-) diff --git a/radiant/Rad.natvis b/radiant/Rad.natvis index cccefd5..423adcc 100644 --- a/radiant/Rad.natvis +++ b/radiant/Rad.natvis @@ -18,17 +18,28 @@ limitations under the License. + + + empty + ok {m_ok.m_value} + error {m_err.m_value} + + m_ok.m_value + m_err.m_value + + + - {*($T1 *)this} + {*($T1*)this} - *($T1 *)this + *($T1*)this {m_first} - m_first + m_first @@ -38,12 +49,162 @@ limitations under the License. {{ size={size()} }} - capacity() - m_storage - - size() - m_storage.m_second.m_data - + capacity() + m_storage + + size() + m_storage.m_second.m_data + + + + + + + invalid + {m_value} + + m_value + + + + + + {m_value} + + m_value + + + + + + exclusive lock + + m_lock + + + + + + shared lock + + m_lock + + + + + + unlocked + locked exclusive + + m_lock + + + + + + unlocked + locked shared + + m_lock + + + + + + {m_val} + + m_val + + + + + + + + {weak()} weak ref + {weak()} weak refs + {strong()} strong ref + {strong()} strong ref, {weak() - 1} weak ref + {strong()} strong ref, {weak() - 1} weak refs + {strong()} strong refs + {strong()} strong refs, {weak() - 1} weak ref + {strong()} strong refs, {weak() - 1} weak refs + + ($T1*)&m_pair.m_second + m_pair + + + + + + + + m_ptr + empty + nullptr + {*m_ptr} + {*this,view(ptr)} [{*m_block}] + + m_ptr + *m_block + + + + + + + + m_ptr + empty + nullptr + {*m_ptr} + expired [{*m_block}] + {*this,view(ptr)} [{*m_block}] + + m_ptr + *m_block + + + + + + ($T1*)(m_storage.m_val & PtrMask) + {*($T1*)(m_storage.m_val & PtrMask)} + {*($T1*)(m_storage.m_val & PtrMask)}, locked exclusive + {*($T1*)(m_storage.m_val & PtrMask)}, locked shared + + *($T1*)(m_storage.m_val & PtrMask) + + + + + + + + ($T1*)m_ptr.m_val + empty + nullptr + {*($T1*)m_ptr.m_val} + {*this,view(ptr)} [{m_block}] + + ($T1*)m_ptr.m_val + m_block + + + + + + + + ($T1*)m_ptr.m_val + empty + nullptr + {*($T1*)m_ptr.m_val} + expired [{m_block}] + {*this,view(ptr)} [{m_block}] + + ($T1*)m_ptr.m_val + m_block