Skip to content

Conversation

@mikem8361
Copy link
Contributor

Issue: #103872

@mikem8361 mikem8361 requested review from VSadov and jkotas August 10, 2024 00:10
@mikem8361 mikem8361 self-assigned this Aug 10, 2024
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

I assume that you have verified that this fixes the problem.

@mikem8361 mikem8361 merged commit bcca12c into dotnet:main Aug 10, 2024
@mikem8361 mikem8361 deleted the clrmodulebase branch August 10, 2024 04:35
elinor-fung added a commit that referenced this pull request Aug 12, 2024
When loading the cDAC, we were relying on `GetClrModuleDirectory` in the DAC actually giving us the DAC directory. With #106217, it explicitly stores/uses the CLR module base. When we first try to load the cDAC in the DAC, that has not yet been set. The current intent is to actually load from next to the DAC, so switch the logic to look next to the current module for the cDAC instead of using the CLR module directory.

Also renamed `GetCurrentModuleFileName` in utilcode to `GetCurrentExecutableFileName` so that it accurately represents what it does (I tried to use it and was sad).
@github-actions github-actions bot locked and limited conversation to collaborators Sep 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants