[PATCH] D78574: Do not map read-only data memory sections with EXECUTE flags.

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 08:13:19 PDT 2020


lhames accepted this revision.
lhames added a comment.
This revision is now accepted and ready to land.

I don't see any reason for RODataMem to be mapped executable. I don't think this will break anything, but if it does the fix would be to update RuntimeDyld to ensure any code that needs executing ends up in CodeMem.

LGTM.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78574/new/

https://reviews.llvm.org/D78574



More information about the llvm-commits mailing list