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

MacOS single-file diagnostic support changes #51425

Merged
5 commits merged into from
Apr 17, 2021
Merged

Conversation

mikem8361
Copy link
Member

Change the DAC to lookup the g_dacTable symbol like Linux and not use the RVA header file anymore.

Use dysymtab_command to just load the extern/export symbols. Don't read
the whole symbol string table; read the symbol name a char at a time.

#38901

Use dysymtab_command to just load the extern/export symbols. Don't read
the whole symbol string table; read the symbol name a char at a time.

dotnet#38901
@ghost
Copy link

ghost commented Apr 17, 2021

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

Issue Details

Change the DAC to lookup the g_dacTable symbol like Linux and not use the RVA header file anymore.

Use dysymtab_command to just load the extern/export symbols. Don't read
the whole symbol string table; read the symbol name a char at a time.

#38901

Author: mikem8361
Assignees: mikem8361
Labels:

area-Diagnostics-coreclr

Milestone: -

src/coreclr/debug/createdump/crashinfomac.cpp Show resolved Hide resolved
src/coreclr/debug/dbgutil/machoreader.cpp Outdated Show resolved Hide resolved
src/coreclr/debug/dbgutil/machoreader.cpp Outdated Show resolved Hide resolved
src/coreclr/debug/dbgutil/machoreader.cpp Outdated Show resolved Hide resolved
@ghost
Copy link

ghost commented Apr 17, 2021

Hello @mikem8361!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit d2daf0b into dotnet:main Apr 17, 2021
@mikem8361 mikem8361 deleted the macos-singlefile branch April 26, 2021 16:52
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 19, 2021
This pull request was closed.
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.

4 participants