]> granicus.if.org Git - llvm/commit
llvm-strings: support printing the filename
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 13 Nov 2016 19:07:48 +0000 (19:07 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 13 Nov 2016 19:07:48 +0000 (19:07 +0000)
commitc99852c60ea0a4cab64b8e493b0371e13e27dbe5
treeb2de39f92079311c68e0fe8f7a9170b5fbec7ce2
parent4404d0d6e354e80dd7f8f0a0e12d8ad809cf007e
llvm-strings: support printing the filename

This adds support for the `-f` or `--print-file-name` option for strings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286767 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-strings/archive-filename.test [new file with mode: 0644]
test/tools/llvm-strings/file-filename.test [new file with mode: 0644]
test/tools/llvm-strings/stdin-filename.test [new file with mode: 0644]
tools/llvm-strings/llvm-strings.cpp