[all-commits] [llvm/llvm-project] f30500: [X32][CET] Fix size and alignment of .note.gnu.pro...

Harald van Dijk via All-commits all-commits at lists.llvm.org
Sat May 1 14:17:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f30500632b299a8f8f8a53f06efb1038eb7fa48d
      https://github.com/llvm/llvm-project/commit/f30500632b299a8f8f8a53f06efb1038eb7fa48d
  Author: Harald van Dijk <harald at gigawatt.nl>
  Date:   2021-05-01 (Sat, 01 May 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86AsmPrinter.cpp
    M llvm/test/CodeGen/X86/note-cet-property.ll

  Log Message:
  -----------
  [X32][CET] Fix size and alignment of .note.gnu.property section

X32 uses 32-bit ELF object files with 32-bit alignment, so the
.note.gnu.property section needs to be emitted as it is for X86.

Reviewed By: MaskRay

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




More information about the All-commits mailing list