[all-commits] [llvm/llvm-project] e9b394: [JITLink][ELF] Only make sections with SHF_WRITE w...

Job Noorman via All-commits all-commits at lists.llvm.org
Mon Apr 3 11:19:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9b394b08eb6db5aa225441cf3fb9d4380ff4533
      https://github.com/llvm/llvm-project/commit/e9b394b08eb6db5aa225441cf3fb9d4380ff4533
  Author: Job Noorman <jnoorman at igalia.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h

  Log Message:
  -----------
  [JITLink][ELF] Only make sections with SHF_WRITE writable

All non-executable sections used to be mapped as RW- causing read-only
sections such as .rodata to be writable.

Reviewed By: lhames

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




More information about the All-commits mailing list