[all-commits] [llvm/llvm-project] a190f1: [AArch64] Add support for SHF_AARCH64_PURECODE ELF...

Csanád Hajdú via All-commits all-commits at lists.llvm.org
Fri Feb 14 00:56:28 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a190f15d2b84e873ee978d0e6f04bf36e8f17583
      https://github.com/llvm/llvm-project/commit/a190f15d2b84e873ee978d0e6f04bf36e8f17583
  Author: Csanád Hajdú <csanad.hajdu at arm.com>
  Date:   2025-02-14 (Fri, 14 Feb 2025)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/lib/MC/MCParser/ELFAsmParser.cpp
    M llvm/lib/MC/MCSectionELF.cpp
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    M llvm/lib/Target/AArch64/AArch64Features.td
    M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
    M llvm/lib/Target/AArch64/AArch64TargetObjectFile.h
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
    A llvm/test/CodeGen/AArch64/execute-only-section.ll
    A llvm/test/MC/ELF/AArch64/execute-only-populated-text-section.s
    A llvm/test/MC/ELF/AArch64/execute-only-section.s
    A llvm/test/MC/ELF/AArch64/execute-only-text-section-data.s
    M llvm/test/MC/ELF/section-flags-unknown.s
    M llvm/test/Transforms/Inline/AArch64/inline-target-attr.ll
    M llvm/test/tools/llvm-objcopy/ELF/rename-section-flag-osproc-mask.test
    M llvm/test/tools/llvm-readobj/ELF/gnu-sections.test
    M llvm/test/tools/llvm-readobj/ELF/section-arch-flags.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [AArch64] Add support for SHF_AARCH64_PURECODE ELF section flag (1/3) (#125687)

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.
Generating object files with the `SHF_AARCH64_PURECODE` flag set is
enabled by the `+execute-only` target feature.

Related PRs:
* Clang: https://github.com/llvm/llvm-project/pull/125688
* 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