llvm-strings: trivialise logic until we support more options
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 12 Nov 2016 18:37:04 +0000 (18:37 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 12 Nov 2016 18:37:04 +0000 (18:37 +0000)
commitbe3a2919f42e8323f65c126138f263578bfb9a7e
treecf956a00db6a58f150a051f35ed5316f14be8d03
parent22a2628f18094a4f7c1b40b90ec280739805768b
llvm-strings: trivialise logic until we support more options

Until we have handling for ignoring unloaded sections, simplify the logic to
the point of triviality.  This fixes the scanning of archives, particularly when
embedded in archives.

llvm-svn: 286727
llvm/test/tools/llvm-strings/nested-archives.test [new file with mode: 0644]
llvm/tools/llvm-strings/llvm-strings.cpp