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)
commit8b9be8fd41e707f974f13d4648878bc47aa0bd34
treee915bdfef052aaba0be816e02d69260f28f3d19d
parentdc45274d546b531ca64308cfe4304042e341c463
llvm-strings: support printing the filename

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

llvm-svn: 286767
llvm/test/tools/llvm-strings/archive-filename.test [new file with mode: 0644]
llvm/test/tools/llvm-strings/file-filename.test [new file with mode: 0644]
llvm/test/tools/llvm-strings/stdin-filename.test [new file with mode: 0644]
llvm/tools/llvm-strings/llvm-strings.cpp