Skip to content
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

[release/9.0] Implement getClassAssemblyName #107516

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

hez2010
Copy link
Contributor

@hez2010 hez2010 commented Sep 9, 2024

Per #106959 (comment), backport #106959 to release/9.0.
/cc: @jkotas

Customer Impact

Codegen inspect tools (like JitDisasmo, godbolt and etc.) using JitDisasmAssemblies will fail without this fix.

Regression

  • Yes
  • No

Testing

Verified using JitDisasmAssemblies in codegen.

Risk

Low. The fix only has impact on debug/checked coreclr debugging where one could use JitDisasmAssemblies to filter out the jit disasm to print.

* Add getClassAssemblyName

* Handle nullptrs

* Remove CORINFO_ASSEMBLY_HANDLE

* Address feedbacks

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 9, 2024
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Sep 9, 2024
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@hez2010 hez2010 changed the title Implement getClassAssemblyName [release/9.0] Implement getClassAssemblyName Sep 9, 2024
@am11
Copy link
Member

am11 commented Sep 9, 2024

@hez2010, thank you for implementing AOT support in godbolt! The new dropdown menu is very clean; with separate categories for crossgen2 and AOT when .NET stack is selected. Loving it! 👍

Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved. we can merge when ready

@jeffschwMSFT jeffschwMSFT added the Servicing-approved Approved for servicing release label Sep 9, 2024
@jkotas jkotas merged commit 05d54b6 into dotnet:release/9.0 Sep 9, 2024
91 of 99 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants