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(shorebird_cli): support --split-debug-info #2570

Merged
merged 9 commits into from
Oct 23, 2024

Conversation

felangel
Copy link
Contributor

@felangel felangel commented Oct 23, 2024

Description

  • fix(shorebird_cli): support --split-debug-info (closes fix: shorebird patch iOS Failed to link AOT files: Exception: Failed to link: #2480)
    • when passing the --split-debug-info flag to the flutter_tool, the resulting gen_snapshot execution includes additional flags ('--dwarf-stack-traces', '--resolve-dwarf-paths', '--save-debugging-info') previously, we were proxying this flag when building the release but when building the optimized aot snapshot (as part of the linking step) we were not supplying the additional flags which would result in different vm sections of the generated snapshot.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore
  • 🧪 Tests

@felangel felangel self-assigned this Oct 23, 2024
Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@bryanoltman
Copy link
Contributor

Would you mind updating the description to explain what is changing?

@felangel
Copy link
Contributor Author

Would you mind updating the description to explain what is changing?

Yup sorry about that, done 👍

@felangel felangel merged commit 8b50e3b into main Oct 23, 2024
11 checks passed
@felangel felangel deleted the fix/shorebird-cli-support-split-debug-info branch October 23, 2024 19:44
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.

fix: shorebird patch iOS Failed to link AOT files: Exception: Failed to link:
3 participants