summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Inputs/dwarfdump-test3.cc
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2019-01-31 14:22:50 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2019-01-31 14:22:50 +0000
commit5282c872c020373fee306ccabf99ed6a130beb88 (patch)
tree19a07ad9076f6139d0c1f5b62a6db01f34d67639 /llvm/test/DebugInfo/Inputs/dwarfdump-test3.cc
parenta22c72ca8ff55a70e38ea0d40929a48324e5b8a4 (diff)
downloadbcm5719-llvm-5282c872c020373fee306ccabf99ed6a130beb88.tar.gz
bcm5719-llvm-5282c872c020373fee306ccabf99ed6a130beb88.zip
[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 llvm-svn: 352756
Diffstat (limited to 'llvm/test/DebugInfo/Inputs/dwarfdump-test3.cc')
-rw-r--r--llvm/test/DebugInfo/Inputs/dwarfdump-test3.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/test/DebugInfo/Inputs/dwarfdump-test3.cc b/llvm/test/DebugInfo/Inputs/dwarfdump-test3.cc
index 7b4d7ea7118..e69de29bb2d 100644
--- a/llvm/test/DebugInfo/Inputs/dwarfdump-test3.cc
+++ b/llvm/test/DebugInfo/Inputs/dwarfdump-test3.cc
@@ -1,12 +0,0 @@
-#include "dwarfdump-test3-decl.h"
-
-C::C(bool a, bool b) {}
-
-// Built with gcc 4.6.3
-// $ mkdir -p /tmp/dbginfo/include
-// $ mkdir -p /tmp/include
-// $ cp dwarfdump-test3.cc /tmp/dbginfo
-// $ cp dwarfdump-test3-decl.h /tmp/include
-// $ cp dwarfdump-test3-decl2.h /tmp/dbginfo/include
-// $ cd /tmp/dbginfo
-// $ gcc dwarfdump-test3.cc -g -I/tmp/include -Iinclude -fPIC -shared -o <output>
OpenPOWER on IntegriCloud