-
Notifications
You must be signed in to change notification settings - Fork 511
Additional debug data #3932
Additional debug data #3932
Conversation
- Support ByRef and Pointer types - Support base class as being a non-pointer wrapped thing - Remove unnecessary UniqueName from api - Generate struct records for enums as well as enum records - Support MemberFunction and MemberFunctionId type records - Support for this pointer records - Make api thread safe
Fixup this pointer type handling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (Not an expert in debugging info, so take that with a grain of salt).
src/ILCompiler/ILCompiler.sln
Outdated
@@ -1,7 +1,7 @@ | |||
| |||
Microsoft Visual Studio Solution File, Format Version 12.00 | |||
# Visual Studio 15 | |||
VisualStudioVersion = 15.0.26507.0 | |||
VisualStudioVersion = 15.0.26524.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Were these changes deliberate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, that was my copy of VS doing "stuff"
} | ||
catch (OverflowException) | ||
{ | ||
return 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is 0 a sentinel for "invalid"? The caller doesn't do anything special with this value - or does this just quietly make us show no type info in the debugger?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes the debugger quietly fail.
I just published ObjectWriter with your changes, could you update this PR with the 19 version? |
Add more complete and correct debug data. Depends on dotnet/llilc#1082
[WIP] as it depends on dotnet/llilc#1082 to be checked in first, and a proper nuget package created.