[PATCH] D48792: [ARM] Set execute-only flags in .text.

Ivan Lozano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 29 15:48:52 PDT 2018


ivanlozano updated this revision to Diff 163213.
ivanlozano added a comment.

Added a new check condition to test/CodeGen/ARM/execute-only.ll to make sure the bare ".text" section is not emitted in assembly output that should be execute-only.


https://reviews.llvm.org/D48792

Files:
  include/llvm/MC/MCSection.h
  lib/MC/ELFObjectWriter.cpp
  lib/MC/MCObjectStreamer.cpp
  lib/MC/MCSection.cpp
  lib/Target/ARM/ARMTargetObjectFile.cpp
  test/CodeGen/ARM/execute-only.ll
  test/MC/ARM/elf-execute-only-section.ll
  test/MC/ELF/ARM/execute-only-populated-text-section.s
  test/MC/ELF/ARM/execute-only-section.s
  test/MC/ELF/ARM/execute-only-text-section-data.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48792.163213.patch
Type: text/x-patch
Size: 8683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180829/fc2d40af/attachment.bin>


More information about the llvm-commits mailing list