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

Ivan Lozano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 5 14:39:38 PDT 2018


ivanlozano updated this revision to Diff 164110.
ivanlozano marked 9 inline comments as done.
ivanlozano edited the summary of this revision.
ivanlozano added a comment.

Added a setTargetSectionFlags virtual method to MCELFObjectTargetWriter and moved the logic that modifies the TextSection flags over to the ARMELFObjectWriter.


https://reviews.llvm.org/D48792

Files:
  include/llvm/MC/MCELFObjectWriter.h
  include/llvm/MC/MCSection.h
  lib/MC/ELFObjectWriter.cpp
  lib/MC/MCELFObjectTargetWriter.cpp
  lib/MC/MCObjectStreamer.cpp
  lib/MC/MCSection.cpp
  lib/Target/ARM/ARMTargetObjectFile.cpp
  lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.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.164110.patch
Type: text/x-patch
Size: 10660 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180905/7e80cd8c/attachment.bin>


More information about the llvm-commits mailing list