[llvm-readobj][MachO] Add option to sort the symbol table before dumping (MachO only...
authorVy Nguyen <vyng@google.com>
Tue, 22 Mar 2022 22:55:15 +0000 (18:55 -0400)
committerVy Nguyen <vyng@google.com>
Thu, 31 Mar 2022 13:13:31 +0000 (09:13 -0400)
commitea9cf2dc96c765773ee574a9189d529175a57751
treeda7481801ac6bd9d80b457a3ba66b42865cf1145
parentfdaf606c8ebb4326c20319333bed388bf7896862
[llvm-readobj][MachO] Add option to sort the symbol table before dumping (MachO only, for now).

This would help making tests less brittle as the order will be fixed.

(see also PR/53026)

    Differential Revision: https://reviews.llvm.org/D116787
llvm/docs/CommandGuide/llvm-readobj.rst
llvm/test/tools/llvm-readobj/MachO/stabs-sorted.yaml [new file with mode: 0644]
llvm/test/tools/llvm-readobj/sort-symbols.test [new file with mode: 0644]
llvm/tools/llvm-readobj/MachODumper.cpp
llvm/tools/llvm-readobj/ObjDumper.h
llvm/tools/llvm-readobj/Opts.td
llvm/tools/llvm-readobj/llvm-readobj.cpp
llvm/tools/llvm-readobj/llvm-readobj.h