[all-commits] [llvm/llvm-project] 38a591: [OpenMP][AArch64] Fix branch protection in microta...
Tulio Magno Quites Machado Filho via All-commits
all-commits at lists.llvm.org
Tue Aug 20 00:15:46 PDT 2024
Branch: refs/heads/release/19.x
Home: https://github.com/llvm/llvm-project
Commit: 38a591de66a86aaf523f78f8266a2d5f01a1b106
https://github.com/llvm/llvm-project/commit/38a591de66a86aaf523f78f8266a2d5f01a1b106
Author: Tulio Magno Quites Machado Filho <tuliom at redhat.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M openmp/runtime/src/z_Linux_asm.S
Log Message:
-----------
[OpenMP][AArch64] Fix branch protection in microtasks (#102317)
Start __kmp_invoke_microtask with PACBTI in order to identify the
function as a valid branch target. Before returning, SP is
authenticated.
Also add the BTI and PAC markers to z_Linux_asm.S.
With this patch, libomp.so can now be generated with DT_AARCH64_BTI_PLT
when built with -mbranch-protection=standard.
The implementation is based on the code available in compiler-rt.
(cherry picked from commit 0aa22dcd2f6ec5f46b8ef18fee88066463734935)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list