Allow not emitting uwtable
on Android
#83391
Merged
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.
uwtable
is marked as required on Android, so it can't be disabled via-C force-unwind-tables=no
. However, I found that the reason it's marked as required was to resolve a backtrace issue in Gecko, and I haven't find any other reasons that make it required (yet). Therefore, I assume it's safe to turn it off if a (nice) backtrace is not needed, and submit this PR to allow-C force-unwind-tables=no
when targeting Android.Note that I haven't tested this change on Android as I don't have an Android environment for testing.