[PATCH] D116787: [llvm-readobj][MachO] Add option to sort the symbol table before dumping (MachO only, for now).
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 29 00:35:29 PDT 2022
jhenderson added a comment.
Looks good aside from the test comment.
================
Comment at: llvm/tools/llvm-readobj/llvm-readobj.cpp:387-390
+ reportWarning(createStringError(
+ errc::invalid_argument,
+ "--sort-symbols is not supported yet for this format"),
+ FileStr);
----------------
This warning is untested. Unless you have patches lined up for all other formats, I'd add a test that shows what happens for a mixture of sortable and unsortable formats, e.g. `llvm-readobj wasm.o macho.o elf.o`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116787/new/
https://reviews.llvm.org/D116787
More information about the llvm-commits
mailing list