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

Revert "Support for DWARFv5 embedded source code extension (#849)" #870

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

loewenheim
Copy link
Contributor

@loewenheim loewenheim commented Sep 30, 2024

This reverts the "feature part" of commit 7dc28dd (#849). The dep updates can stay.

Unfortunately opening a debug session to check for the presence of sources is prohibitively expensive in terms of memory (going from ~450MB to ~3.7GB in a Python process that calls Object.features on an example 1.3GB file). In order to support this we'll have to find a more parsimonious way to check if a file contains sources.

A simpler way to accomplish the same thing would be to restore ElfObject::has_sources and WasmObject::has_sources to their previous implementations (just return false) and leaving the rest of the changes intact.

@loewenheim loewenheim requested review from jan-auer and a team October 1, 2024 08:21
@loewenheim loewenheim marked this pull request as ready for review October 1, 2024 08:23
@loewenheim loewenheim self-assigned this Oct 1, 2024
@loewenheim loewenheim merged commit f9b7fcc into master Oct 1, 2024
15 checks passed
@loewenheim loewenheim deleted the fix/revert-849 branch October 1, 2024 10:25
loewenheim added a commit to getsentry/symbolicator that referenced this pull request Oct 1, 2024
This removes support for DWARF embedded sources.
See getsentry/symbolic#870.
loewenheim added a commit to getsentry/symbolicator that referenced this pull request Oct 1, 2024
This removes support for DWARF embedded sources.
See getsentry/symbolic#870.
loewenheim added a commit to getsentry/sentry that referenced this pull request Oct 1, 2024
This removes support for embedded sources in DWARF, the root cause of
#78251. See
getsentry/symbolic#870.
loewenheim added a commit to getsentry/sentry-cli that referenced this pull request Nov 4, 2024
szokeasaurusrex pushed a commit to getsentry/sentry-cli that referenced this pull request Nov 4, 2024
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