[PATCH] D110320: [XCOFF] Improve error message context.
Esme Yi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 28 02:57:30 PDT 2021
Esme added inline comments.
================
Comment at: llvm/lib/Object/XCOFFObjectFile.cpp:887
+ toString(ImportTableOrErr.takeError()) +
+ ": the ImportTable with offset 0x" +
+ Twine::utohexstr(LoaderSectionAddr + OffsetToImportFileTable) +
----------------
jhenderson wrote:
> Slightly surprised to see the name written as "ImportTable" here, but you don't use e.g. "StringTable". Is "ImportTable" how it is written in the XCOFF spec? What about string tables?
It's called `Import File ID Name Table` in the XCOFF spec. To make messages consistent with `string table`, I will use `import file name table` here, what do you think?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110320/new/
https://reviews.llvm.org/D110320
More information about the llvm-commits
mailing list