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

Fix -link -Qstrip_debug failing #6833

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elasota
Copy link

@elasota elasota commented Jul 30, 2024

Fixes #5737

Link doesn't include the ILDB chunk in the first place when -Qstrip_debug is used, so this fixes it failing in UpdatePart.

The compiler does the same thing, sort of, except the compiler's default behavior is different (it doesn't embed debug by default), so this omits the condition to reflect that.

This will cause -Fd -Qstrip_debug to fail, but -Fd -Qstrip_debug doesn't work properly anyway due to #5739 (which will be fixed in a separate forthcoming PR that doesn't conflict with this one)

@elasota elasota requested a review from a team as a code owner July 30, 2024 00:48
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.

Link fails when using -Fd with -Qstrip_debug
1 participant