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

Copy skeleton unit attributes for split DWARF #9151

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

philipc
Copy link
Contributor

@philipc philipc commented Aug 20, 2024

The skeleton unit may contain attributes that don't appear in the split unit. In particular, this includes DW_AT_ranges and DW_AT_comp_dir.

Also, set the correct form for the default directory in the line program. Previously, the different form meant that we emitted the directory again when a file used it. Copying the DW_AT_comp_dir attribute is required for use of the default directory to work successfully.

The skeleton unit may contain attributes that don't appear in
the split unit. In particular, this includes DW_AT_ranges and
DW_AT_comp_dir.

Also, set the correct form for the default directory in the
line program. Previously, the different form meant that we emitted
the directory again when a file used it. Copying the DW_AT_comp_dir
attribute is required for use of the default directory to work
successfully.
@philipc philipc requested a review from a team as a code owner August 20, 2024 09:02
@philipc philipc requested review from fitzgen and removed request for a team August 20, 2024 09:02
@alexcrichton alexcrichton added this pull request to the merge queue Aug 20, 2024
Merged via the queue into bytecodealliance:main with commit 494867d Aug 20, 2024
37 checks passed
@fitzgen
Copy link
Member

fitzgen commented Aug 20, 2024

Thanks!

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.

3 participants