Specifying --headers is equivalent to setting --file-headers,
--program-headers and --section-headers at the same time.
The existent test case uses a precompiled object and doesn't test the
output properly. This patch fixes it.
Paths
| Differential D85832
[llvm-readobj/elf][test] - Refine --headers testing and the related code comment. ClosedPublic Authored by grimar on Aug 12 2020, 5:51 AM.
Details Summary Specifying --headers is equivalent to setting --file-headers, The existent test case uses a precompiled object and doesn't test the
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 13 2020, 1:19 AM grimar retitled this revision from [llvm-readobj/elf] - Refine --headers testing and the related code comment. to [llvm-readobj/elf][test] - Refine --headers testing and the related code comment..Aug 13 2020, 3:37 AM Closed by commit rG936ba7eec3f0: [llvm-readobj/elf][test] - Refine --headers testing and the related code… (authored by grimar). · Explain WhyAug 13 2020, 3:53 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 285320 llvm/test/tools/llvm-readobj/ELF/headers.test
llvm/tools/llvm-readobj/llvm-readobj.cpp
|