Add VS debugger visualization file for xe::be
This commit is contained in:
parent
30e0c6dbb1
commit
7a34dbd5c7
|
@ -523,6 +523,11 @@
|
||||||
<None Include="third_party\capstone\arch\X86\X86GenInstrInfo_reduce.inc" />
|
<None Include="third_party\capstone\arch\X86\X86GenInstrInfo_reduce.inc" />
|
||||||
<None Include="third_party\capstone\arch\X86\X86GenRegisterInfo.inc" />
|
<None Include="third_party\capstone\arch\X86\X86GenRegisterInfo.inc" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Natvis Include="xedebugger.natvis">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</Natvis>
|
||||||
|
</ItemGroup>
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<ProjectGuid>{0CE149F6-41C3-4224-9E57-C02E8C7CD312}</ProjectGuid>
|
<ProjectGuid>{0CE149F6-41C3-4224-9E57-C02E8C7CD312}</ProjectGuid>
|
||||||
<Keyword>Win32Proj</Keyword>
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
|
|
@ -1545,4 +1545,7 @@
|
||||||
<Filter>third_party\capstone\arch\X86</Filter>
|
<Filter>third_party\capstone\arch\X86</Filter>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Natvis Include="xedebugger.natvis" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
|
@ -0,0 +1,34 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||||||
|
|
||||||
|
<!-- Automatically convert endianness for xe::be -->
|
||||||
|
<Type Name="xe::be<unsigned int>">
|
||||||
|
<DisplayString>
|
||||||
|
{(((value & 0xFF000000) >> 24) |
|
||||||
|
((value & 0x00FF0000) >> 8) |
|
||||||
|
((value & 0x0000FF00) << 8) |
|
||||||
|
((value & 0x000000FF) << 24))}
|
||||||
|
</DisplayString>
|
||||||
|
</Type>
|
||||||
|
<Type Name="xe::be<int>">
|
||||||
|
<DisplayString>
|
||||||
|
{(((value & 0xFF000000) >> 24) |
|
||||||
|
((value & 0x00FF0000) >> 8) |
|
||||||
|
((value & 0x0000FF00) << 8) |
|
||||||
|
((value & 0x000000FF) << 24))}
|
||||||
|
</DisplayString>
|
||||||
|
</Type>
|
||||||
|
|
||||||
|
<Type Name="xe::be<unsigned short>">
|
||||||
|
<DisplayString>
|
||||||
|
{(((value & 0xFF00) >> 8) |
|
||||||
|
((value & 0x00FF) << 8))}
|
||||||
|
</DisplayString>
|
||||||
|
</Type>
|
||||||
|
<Type Name="xe::be<short>">
|
||||||
|
<DisplayString>
|
||||||
|
{(((value & 0xFF00) >> 8) |
|
||||||
|
((value & 0x00FF) << 8))}
|
||||||
|
</DisplayString>
|
||||||
|
</Type>
|
||||||
|
</AutoVisualizer>
|
Loading…
Reference in New Issue