swiftlang / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Swift’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.11k stars 328 forks source link

[AArch64] Restore ptrauth_abi_version directive driving the arm64e subtype. #9159

Closed ahmedbougacha closed 3 weeks ago

ahmedbougacha commented 3 weeks ago

Upstream doesn't support the version directive and flags yet. Instead it sets a v0 default implicitly. Here we do support the flag.

Eventually, once the dust has settled, we should probably also switch this to set a default v0. We should also consider upstreaming the version flag/directive support; we're discussing that with ELF folks.

Fixes merge abbc5782cbf6.

rdar://134373897