[PATCH] D64706: [tools] [llvm-objdump] Default to reading from stdin not a.out
Alex Brachet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 14 18:57:08 PDT 2019
abrachet added a comment.
> This breaks compatibility with objdump. Please ensure that the original behavior is preserved when invoked as objdump rather than llvm-objdump.
This was discussed on the mailing list, it was decided that defaulting to a.out was not something that was worth maintaining compatibility with GNU and favored standardizing the llvm tools, ie reading from stdin on default.
FWIW, I favored defaulting to a.out when stdin is a tty and stdin when a file has been redirected in.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64706/new/
https://reviews.llvm.org/D64706
More information about the llvm-commits
mailing list