[PATCH] D74433: [llvm-objdump] Print file format in lowercase to match GNU output.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 11 13:27:47 PST 2020
MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
Verified that coff, elf, and mach-o are printed as lower cases. I believe bpf is similar.
================
Comment at: llvm/tools/llvm-objdump/llvm-objdump.cpp:2176
+ outs() << ":\tfile format ";
+ printLowerCase(O->getFileFormatName(), outs());
+ outs() << "\n\n";
----------------
`outs() << ":\tfile format " << O->getFileFormatName().lower() << "\n\n";`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74433/new/
https://reviews.llvm.org/D74433
More information about the llvm-commits
mailing list