Skip to content

proc: remove dieToRuntimeType - #3985

Merged
derekparker merged 1 commit into
go-delve:masterfrom
aarzilli:fixwinproblem
Apr 14, 2025
Merged

derekparker merged 1 commit into
go-delve:masterfrom
aarzilli:fixwinproblem

Conversation

@aarzilli

Copy link
Copy Markdown
Member

The dwarfToRuntimeType does basically the same thing in another way and
doesn't have a bug with making unsigned comparisons that should be
signed. It also does more things compared to dieToRuntimeType but it
shouldn't matter since function call injection is very slow anyway.

Fixes an intermittent bug on windows:
https://delve.teamcity.com/buildConfiguration/Delve_windows_amd64_1_24/67152

The dwarfToRuntimeType does basically the same thing in another way and
doesn't have a bug with making unsigned comparisons that should be
signed. It also does more things compared to dieToRuntimeType but it
shouldn't matter since function call injection is very slow anyway.

Fixes an intermittent bug on windows:
	https://delve.teamcity.com/buildConfiguration/Delve_windows_amd64_1_24/67152

@derekparker derekparker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@derekparker
derekparker merged commit 2256460 into go-delve:master Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants