Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Add PAL exports to DAC and remove linkage of PAL from static utility library #23937

Merged
merged 1 commit into from
Apr 12, 2019

Conversation

hoyosjs
Copy link
Member

@hoyosjs hoyosjs commented Apr 12, 2019

As explained in #23924, #22861 introduced a dependency in PAL APIs in the util library, which gets transitively linked in the DBI. Replicating Jan's suggested fix, we take the additional APIs needed from the PAL by exporting them on the DAC. The list looks a bit different as there's been some churn in master, which changes the exports needed, but this is a more conservative approach than taking the closure of commits needed for the other commit to be picked into this branch.

I verified this fixes the process attach for OSX and that it causes no issues on Linux-x64 on the customer scenarios that reported it.

cc: @mmitche @tommcdon

@tommcdon
Copy link
Member

@leecow this PR is ready to merge once shiproom approves

@hoyosjs
Copy link
Member Author

hoyosjs commented Apr 12, 2019

Thanks @janvorli for the suggested fix :)

@mmitche
Copy link
Member

mmitche commented Apr 12, 2019

@tommcdon approved, commit when it completes.

@mmitche mmitche merged commit d833cac into dotnet:release/3.0 Apr 12, 2019
@hoyosjs hoyosjs deleted the juhoyosa/pal-link-fix branch September 26, 2019 18:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants