[PATCH] D135887: [XCOFF] llvvm-readobj support display symbol table of loader section of xcoff object file.

Digger Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 06:13:59 PST 2022


DiggerLin marked an inline comment as done.
DiggerLin added inline comments.


================
Comment at: llvm/lib/Object/XCOFFObjectFile.cpp:93
+template <typename T>
+Expected<StringRef> getLoadSectionSymName(const T *LDHeader, uint64_t Offset) {
+  if (LDHeader->LengthOfStrTbl > Offset)
----------------
jhenderson wrote:
> DiggerLin wrote:
> > jhenderson wrote:
> > > jhenderson wrote:
> > > > 
> > > Marked as done, but this comment hasn't been addressed. Please don't mark comments as done if you haven't done them.
> > I used the abbr Name in function name , otherwise  the function name is too long. For example:
> > Sec for Section.
> > StrTbl for StringTable.
> > Load for Loader.
> > 
> > 
> > 
> I'm okay with some abbreviations (Sec, Sym and StrTbl are all fine), but "Load" -> "Loader" is not an obvious one to me, hence my objection.
> 
> Regarding marking things as done - if you disagree with my comment, that's fine, but please say so and explain why so that we can have a discussion.
OK, thanks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135887



More information about the llvm-commits mailing list