]> granicus.if.org Git - llvm/commit
[llvm-symbolizer][test] Extract tests from llvm-symbolizer.test and simplify (#3)
authorJames Henderson <jh7370@my.bristol.ac.uk>
Thu, 31 Jan 2019 14:22:50 +0000 (14:22 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Thu, 31 Jan 2019 14:22:50 +0000 (14:22 +0000)
commit9ad14952dfeae373405f29a06bb163a35a7728a9
tree080632038061897d9b194b41f88fbc001c0c9024
parent13be7644cc115d5fad9375c14df447b4b5f8b61c
[llvm-symbolizer][test] Extract tests from llvm-symbolizer.test and simplify (#3)

This is the fourth (and final for now) of a series of patches
simplifying llvm-symbolizer tests. See r352752, r352753 and 352754 for
the previous ones. This patch splits out several more distinct test
cases from llvm-symbolizer.test into separate tests, and simplifies them
in various ways including:

1) Building a test case for spaces in path from source, rather than
   using a pre-canned binary. This allows deleting of said binary and the
   source it was built from.
2) Switching to specifying addresses and objects directly on the
   command-line rather than via stdin.

This also adds an explict test for the ability to specify a file and
address as a line in stdin, since the majority of the tests have been
migrated away from this approach, leaving this largely untested.

Reviewed by: dblaikie

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352756 91177308-0d34-0410-b5e6-96231b3b80d8
test/DebugInfo/Inputs/dwarfdump-test3-decl.h
test/DebugInfo/Inputs/dwarfdump-test3-decl2.h
test/DebugInfo/Inputs/dwarfdump-test3.cc
test/DebugInfo/llvm-symbolizer.test
test/DebugInfo/symbolize-gnu-debuglink.test [new file with mode: 0644]
test/DebugInfo/symbolize-inlined.test [new file with mode: 0644]
test/DebugInfo/symbolize-missing-file.test [new file with mode: 0644]
test/tools/llvm-symbolizer/space-in-path.s [new file with mode: 0644]