[all-commits] [llvm/llvm-project] d53e61: [AArch64] Emit PAC/BTI .note.gnu.property flags

Momchil Velikov via All-commits all-commits at lists.llvm.org
Fri Dec 13 09:38:59 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d53e61863d48a07ce285d5b0a36abc67583023bd
      https://github.com/llvm/llvm-project/commit/d53e61863d48a07ce285d5b0a36abc67583023bd
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    A llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-0.ll
    A llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-1.ll
    A llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-2.ll
    A llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-3.ll
    A llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-4.ll
    A llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-5.ll
    A llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-6.ll
    A llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-7.ll
    A llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-8.ll

  Log Message:
  -----------
  [AArch64] Emit PAC/BTI .note.gnu.property flags

This patch make LLVM emit the processor specific program property types
defined in AArch64 ELF spec
https://developer.arm.com/docs/ihi0056/f/elf-for-the-arm-64-bit-architecture-aarch64-abi-2019q2-documentation

A file containing no functions gets both property flags.  Otherwise, a property
is set iff all the functions in the file have the corresponding attribute.

Patch by Daniel Kiss and Momchil Velikov.

Differential Revision: https://reviews.llvm.org/D71019




More information about the All-commits mailing list