summaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/llvm-symbolizer-zlib.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/DebugInfo/llvm-symbolizer-zlib.test')
-rw-r--r--test/DebugInfo/llvm-symbolizer-zlib.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/DebugInfo/llvm-symbolizer-zlib.test b/test/DebugInfo/llvm-symbolizer-zlib.test
new file mode 100644
index 0000000..0aae7e6
--- /dev/null
+++ b/test/DebugInfo/llvm-symbolizer-zlib.test
@@ -0,0 +1,7 @@
+REQUIRES: zlib
+
+RUN: echo "%p/Inputs/dwarfdump-test-zlib.elf-x86-64 0x400559" > %t.input
+RUN: llvm-symbolizer < %t.input | FileCheck %s
+
+CHECK: main
+CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test-zlib.cc:16