-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClrMd v2 cannot find emitted type #4108
Comments
If this is an issue directly in CLRMd, should this be in https://github.com/microsoft/clrmd |
|
Sorry for the delay, I've been on leave. I'm taking a look. |
leculver
added a commit
to leculver/clrmd
that referenced
this issue
Aug 21, 2023
The dac private API will return "<Unloaded Type>" for dynamic type names. We can work around this by using metadata (when available) to produce the name. This restores ClrMD 1.1's behavior. Fixes dotnet/diagnostics#4108.
leculver
added a commit
to microsoft/clrmd
that referenced
this issue
Aug 21, 2023
* Use metadata to find type names when appropriate The dac private API will return "<Unloaded Type>" for dynamic type names. We can work around this by using metadata (when available) to produce the name. This restores ClrMD 1.1's behavior. Fixes dotnet/diagnostics#4108. * Respect string caching
This is fixed, it will be shipped in ClrMD 3.0. |
ghost
locked as resolved and limited conversation to collaborators
Sep 21, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using IL emit to generate a dynamic type, then using ClrMd to disassemble it, it worked in v1, but fails in v2.
v1 works
v2 fails
Relevant issue in BenchmarkDotNet dotnet/BenchmarkDotNet#2383
The text was updated successfully, but these errors were encountered: