Skip to content

Conversation

@copybara-service
Copy link
Contributor

@copybara-service copybara-service bot commented Apr 4, 2025

Copybara import of the project:

--
51dd73f by Richard Townsend ritownsend@google.com:

Add BTI support

  • -Wl,-z,force-bti is added to the linker flags on Android
  • .cc/.c files have -mbranch-protection=bti set
  • .s kernels get a bti c landing pad

Verified by building all XNNPACK tests for Android via
scripts/build-android-arm64.sh, running the binaries on a Pixel 9.

--
4b6080a by Richard Townsend ritownsend@google.com:

Tighten BTI support to just Clang on Android/Linux

FUTURE_COPYBARA_INTEGRATE_REVIEW=#8212 from Sentimentron:bti 4b6080a

@copybara-service copybara-service bot force-pushed the test_744092453 branch 14 times, most recently from ccdd1a7 to d18a2d3 Compare April 7, 2025 17:10
--
51dd73f by Richard Townsend <ritownsend@google.com>:

Add BTI support

* -Wl,-z,force-bti is added to the linker flags on Android
* .cc/.c files have -mbranch-protection=bti set
* .s kernels get a `bti c` landing pad

Verified by building all XNNPACK tests for Android via
scripts/build-android-arm64.sh, running the binaries on a Pixel 9.

--
4b6080a by Richard Townsend <ritownsend@google.com>:

Tighten BTI support to just Clang on Android/Linux

FUTURE_COPYBARA_INTEGRATE_REVIEW=#8212 from Sentimentron:bti 4b6080a
PiperOrigin-RevId: 744092453
@copybara-service copybara-service bot closed this Apr 16, 2025
@copybara-service copybara-service bot deleted the test_744092453 branch April 16, 2025 01:38
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.

1 participant