]> granicus.if.org Git - llvm/commit
[llvm-symbolizer][test] Simplify test input reading
authorJames Henderson <jh7370@my.bristol.ac.uk>
Thu, 31 Jan 2019 14:04:47 +0000 (14:04 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Thu, 31 Jan 2019 14:04:47 +0000 (14:04 +0000)
commitf71abe7fa19d7aacd3bcb24d65e5482f17d28127
tree2e22709b924d10771a70e331ad9d0a2aca3e72b9
parentd568dc2c8f20cafbfb3125578615638f6d2c6bca
[llvm-symbolizer][test] Simplify test input reading

This change migrates most llvm-symbolizer tests away from reading input
via stdin and instead using --obj + positional arguments for the file
and addresses respectively, which makes the tests easier to read.

One exception is the test test/tools/llvm-symbolizer/pdb/pdb.test, which
was doing some manipulation on the input addresses. This patch
simplifies this somewhat, but it still reads from stdin.

More changes to follow to simplify/break-up other tests.

Reviewed by: dblaikie

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352752 91177308-0d34-0410-b5e6-96231b3b80d8
test/DebugInfo/llvm-symbolizer-split-dwarf-no-skel-address.test
test/DebugInfo/llvm-symbolizer-tu.test
test/DebugInfo/llvm-symbolizer-zlib.test
test/tools/llvm-symbolizer/coff-dwarf.test
test/tools/llvm-symbolizer/coff-exports.test
test/tools/llvm-symbolizer/fat.test
test/tools/llvm-symbolizer/padding-x86_64.ll
test/tools/llvm-symbolizer/pdb/missing_pdb.test
test/tools/llvm-symbolizer/pdb/pdb.test
test/tools/llvm-symbolizer/ppc64.test
test/tools/llvm-symbolizer/print_context.c