[PATCH] D146650: [BOLT][NFC] Use IsWritable instead of IsReadOnly in BinarySection::getFlags

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 11:24:07 PDT 2023


Amir created this revision.
Amir added a reviewer: bolt.
Herald added a reviewer: rafauler.
Herald added subscribers: treapster, ayermolo.
Herald added a reviewer: maksfb.
Herald added a project: All.
Amir requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

`BinarySection::getFlags` operates with ELF flags => replace IsReadOnly with
IsWritable.

Follow-up to D141733 <https://reviews.llvm.org/D141733>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146650

Files:
  bolt/include/bolt/Core/BinaryContext.h
  bolt/include/bolt/Core/BinarySection.h
  bolt/lib/Passes/Instrumentation.cpp
  bolt/lib/Rewrite/ExecutableFileMemoryManager.cpp
  bolt/lib/Rewrite/RewriteInstance.cpp
  bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146650.507441.patch
Type: text/x-patch
Size: 5097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230322/40d5c3a1/attachment.bin>


More information about the llvm-commits mailing list