mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-04 04:07:22 +00:00
Fix protobuf TaggedStringPtr display (#17008)
### Description <!-- Describe your changes. --> Adjust nativs to display tagged strings. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Hard to debug without seeing names.
This commit is contained in:
parent
78a5f049f4
commit
d5e4bdbe7d
1 changed files with 1 additions and 1 deletions
2
cmake/external/onnx_protobuf.natvis
vendored
2
cmake/external/onnx_protobuf.natvis
vendored
|
|
@ -34,7 +34,7 @@
|
|||
</Type>
|
||||
|
||||
<Type Name="google::protobuf::internal::TaggedStringPtr">
|
||||
<DisplayString>{{ { ( *(std::string*)(ptr_ & ~0x3) } }}</DisplayString>
|
||||
<DisplayString>{{ { *(std::string*)((uintptr_t)(ptr_) & ~0x3) } }}</DisplayString>
|
||||
<Expand>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
|
|
|||
Loading…
Reference in a new issue