[PATCH] D102284: [Object] Add IsSectionReadOnly section interface

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 12 12:20:32 PDT 2021


MaskRay requested changes to this revision.
MaskRay added a comment.
This revision now requires changes to proceed.

Most binary formats have a concept of writable, but not a concept of readonly.
In ELF, you refine readonly to mean something SHF_ALLOC & SHT_PROGBITS which is probably really BOLT specific.
Having the interface in lib/Object will just cause confusion to lib/Object users.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102284



More information about the llvm-commits mailing list