llvm-project/llvm/test/tools/llvm-strings
Jordan Rupprecht dcf1f8e716 [llvm-strings] Fix whitespaces to match strings output.
Summary:
The current implementation prepends a space on every line, making it difficult to compare against GNU strings.

The space appears to have come from handling --radix in rL292707. The space is for making sure there's a space between the radix and the value; however the space is still emitted even when there is no radix. This change fixes that so the space is only emitted when there is a radix.

Reviewers: jhenderson

Reviewed By: jhenderson

Subscribers: llvm-commits, compnerd

Differential Revision: https://reviews.llvm.org/D54238

llvm-svn: 346529
2018-11-09 18:03:21 +00:00
..
Inputs
all-sections.test
archive-filename.test
file-filename.test [llvm-strings] Fix whitespaces to match strings output. 2018-11-09 18:03:21 +00:00
length.test
negative-char.test [llvm-strings] Fix whitespaces to match strings output. 2018-11-09 18:03:21 +00:00
nested-archives.test
radix-filename.test [llvm-strings] Fix whitespaces to match strings output. 2018-11-09 18:03:21 +00:00
radix.test [llvm-strings] Fix whitespaces to match strings output. 2018-11-09 18:03:21 +00:00
stdin-filename.test
terminator-neg.test
terminator.test
whitespace.test [llvm-strings] Fix whitespaces to match strings output. 2018-11-09 18:03:21 +00:00