Skip to content

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>
@ghost ghost 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
@dotnet-policy-service
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
@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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