[all-commits] [llvm/llvm-project] c579ec: [Clang][AArch64] Add support for SHF_AARCH64_PUREC...

Csanád Hajdú via All-commits all-commits at lists.llvm.org
Mon Mar 10 02:27:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c579ec66c77461122d93deadebc318fbb846b830
      https://github.com/llvm/llvm-project/commit/c579ec66c77461122d93deadebc318fbb846b830
  Author: Csanád Hajdú <csanad.hajdu at arm.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
    M clang/lib/Driver/ToolChains/Arch/AArch64.h
    A clang/test/CodeGen/aarch64-execute-only.c
    A clang/test/Driver/aarch64-execute-only.c
    M clang/test/Driver/fsanitize.c

  Log Message:
  -----------
  [Clang][AArch64] Add support for SHF_AARCH64_PURECODE ELF section flag (2/3) (#125688)

Add support for the new SHF_AARCH64_PURECODE ELF section flag:
https://github.com/ARM-software/abi-aa/pull/304

The general implementation follows the existing one for ARM targets.
Simlarly to ARM targets, generating object files with the
`SHF_AARCH64_PURECODE` flag set is enabled by the
`-mexecute-only`/`-mpure-code` driver flag.

Related PRs:
* LLVM: https://github.com/llvm/llvm-project/pull/125687
* LLD: https://github.com/llvm/llvm-project/pull/125689



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