Repository navigation
build: Inherit libunwind config from Chromium - #12966
Merged
Merged
Conversation
Rework unwind_config and unwind_starboard_config to rely on Chromium's libunwind config, and just add additional config on top. This adds a missing `_LIBUNWIND_IS_NATIVE_ONLY` define that fixes arm64 unwinding. Without that, unwinding a frame whose return address is signed fails, which is every frame on arm64 with pointer authentication. Bug: 495203133
Contributor
There was a problem hiding this comment.
Code Review
This pull request removes several stack and symbolization tests from the evergreen-arm64-aosp filter, adds a fallback wrapper for the process_vm_readv syscall in musl, and refactors the GN build configuration for libunwind to deduplicate common compiler flags. Feedback on the libunwind build changes highlights that using the -= operator to remove configurations can cause build failures if those configurations are not present in all build types; it is recommended to use filter_exclude instead to safely remove them.
Contributor
🤖 Gemini Suggested Commit Message💡 Pro Tips for a Better Commit Message:
|
Contributor
|
andrewsavage1
approved these changes
Sep 30, 2026
andrewsavage1
enabled auto-merge (squash)
September 30, 2026 16:42
briantting
pushed a commit
that referenced
this pull request
Oct 6, 2026
Refer to original PR: #12966 Rework unwind_config and unwind_starboard_config to rely on Chromium's libunwind config, and just add additional config on top. This adds a missing `_LIBUNWIND_IS_NATIVE_ONLY` define that fixes arm64 unwinding. Without that, unwinding a frame whose return address is signed fails, which is every frame on arm64 with pointer authentication. Bug: 495203133 (cherry picked from commit f3468bb)
briantting
pushed a commit
that referenced
this pull request
Oct 16, 2026
Refer to original PR: #12966 Rework unwind_config and unwind_starboard_config to rely on Chromium's libunwind config, and just add additional config on top. This adds a missing `_LIBUNWIND_IS_NATIVE_ONLY` define that fixes arm64 unwinding. Without that, unwinding a frame whose return address is signed fails, which is every frame on arm64 with pointer authentication. Bug: 495203133 (cherry picked from commit f3468bb)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rework unwind_config and unwind_starboard_config to rely on Chromium's libunwind config, and just add additional config on top. This adds a missing
_LIBUNWIND_IS_NATIVE_ONLYdefine that fixes arm64 unwinding.Without that, unwinding a frame whose return address is signed fails, which is every frame on arm64 with pointer authentication.
Bug: 495203133