xref: /llvm-project/llvm/test/tools/llvm-strings/all-sections.test (revision f23ce128fd614d5ed7b5c70038c5db8b257c5127)
1*f23ce128SJames Henderson## Show that the -a/--all switch is accepted. GNU strings checks specific object
2*f23ce128SJames Henderson## file sections unless --all is specified. llvm-strings just looks at the entire
3*f23ce128SJames Henderson## file, so this option is silently ignored.
4*f23ce128SJames Henderson
5*f23ce128SJames HendersonRUN: echo abcd | llvm-strings -a | FileCheck %s
6*f23ce128SJames HendersonRUN: echo abcd | llvm-strings --all | FileCheck %s
76835cac2SMartin StorsjoCHECK: abcd
8