aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2019-08-09 12:30:08 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2019-08-09 12:30:08 +0000
commitbe39e398e98da62a3e88e480a5f2db54eaaa6175 (patch)
tree36265c8c72f56d0c501ffac2c7046e9b0a4df342 /llvm/lib/Object/ELFObjectFile.cpp
parent1429b7ed9e106d8e281ba83fd8bd6a7c0fbefd0d (diff)
downloadllvm-be39e398e98da62a3e88e480a5f2db54eaaa6175.zip
llvm-be39e398e98da62a3e88e480a5f2db54eaaa6175.tar.gz
llvm-be39e398e98da62a3e88e480a5f2db54eaaa6175.tar.bz2
[llvm-readelf]Print filename for multiple inputs and fix formatting regression
This patch addresses two closely related bugs: https://bugs.llvm.org/show_bug.cgi?id=42930 and https://bugs.llvm.org/show_bug.cgi?id=42931. GNU readelf prints the file name for every input unless there is only one input and that input is not an archive. This patch adds the printing for multiple inputs. A previous change did it for archives, but introduced a regression with GNU compatibility for single-output formatting, resulting in a spurious initial blank line. This is fixed in this patch too. Reviewed by: grimar, MaskRay Differential Revision: https://reviews.llvm.org/D65953 llvm-svn: 368435
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions