[PATCH] D128705: [llvm-objdump] Create fake sections for a ELF core file
Namhyung Kim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 30 13:04:25 PDT 2022
namhyung added a comment.
Thanks for your review, now I can add a test case for this.
================
Comment at: llvm/include/llvm/Object/ELFObjectFile.h:264
bool ContentValid = false;
+ bool FakeSectionsUsed = false;
----------------
jhenderson wrote:
> I think this boolean is probably superfluous: you coudl check within `createFakeSections` whether the FakeSections vector is empty and just end early if it is.
But the fake section vector is a private member of ELFFile so we cannot check it here. Do you want me to add a public function in ELFFile to check it?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128705/new/
https://reviews.llvm.org/D128705
More information about the llvm-commits
mailing list