[PATCH] D66063: [Object] Create MutableELFObject Class for Doing Mutations on ELFObjectFiles [Part 5]
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 02:07:09 PDT 2019
jhenderson added inline comments.
================
Comment at: llvm/include/llvm/Object/ELFObjectFile.h:385
+ virtual const Elf_Ehdr &getHeader() const { return *EF.getHeader(); }
+
----------------
Adding a comment here saying make sure to use this function instead of calling the EF.getHeader() function directly is probably a good idea.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66063/new/
https://reviews.llvm.org/D66063
More information about the llvm-commits
mailing list