[PATCH] D144783: [ELF] Move getSectionAndRelocations to ELF.cpp from ELFDumper.cpp
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 00:26:46 PST 2023
jhenderson added inline comments.
================
Comment at: llvm/tools/llvm-readobj/ELFDumper.cpp:7047
+ if (!SecToRelocMapOrErr) {
+ this->reportUniqueWarning("unable to get CG Profile section(s): " +
+ toString(SecToRelocMapOrErr.takeError()));
----------------
This code looks to be untested.
================
Comment at: llvm/unittests/Object/ELFObjectFileTest.cpp:837
+
+ // basic verification to make sure we have the correct section types
+ for (auto const &[Sec, RelaSec] : *SecToRelocMapOrErr) {
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144783/new/
https://reviews.llvm.org/D144783
More information about the llvm-commits
mailing list