[PATCH] D64281: [Object] Create MutableELFObject Class for Doing Mutations on ELFObjectFiles [Part 1]

Alex Brachet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 21:52:22 PDT 2019


abrachet updated this revision to Diff 211670.
abrachet marked an inline comment as done.
abrachet added a comment.
Herald added a reviewer: lebedev.ri.
Herald added a subscriber: lebedev.ri.

Safer way for getSectionRef to get pointer to header for updated sections by explicitly getting the address of header instead of assuming it starts at byte 0 (probably this is guaranteed by the standard though?).


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

https://reviews.llvm.org/D64281

Files:
  llvm/include/llvm/Object/MutableELFObject.h
  llvm/include/llvm/Object/MutableObject.h
  llvm/unittests/Object/CMakeLists.txt
  llvm/unittests/Object/MutableObjectTest.cpp
  llvm/utils/benchmark/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64281.211670.patch
Type: text/x-patch
Size: 14213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190725/8de1369c/attachment.bin>


More information about the llvm-commits mailing list