summaryrefslogtreecommitdiff
path: root/test/DebugInfo
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-08-14 17:09:30 +0000
committerAlexey Samsonov <samsonov@google.com>2013-08-14 17:09:30 +0000
commit6889483ca4bd5f2634c9041aa076aad01ac38b39 (patch)
tree8203e5adeeba44e7da75447aad75dee53e2691d6 /test/DebugInfo
parentdd34dc99fdf66edc52b5fc2ddf8132ebaa134aee (diff)
downloadllvm-6889483ca4bd5f2634c9041aa076aad01ac38b39.tar.gz
llvm-6889483ca4bd5f2634c9041aa076aad01ac38b39.tar.bz2
llvm-6889483ca4bd5f2634c9041aa076aad01ac38b39.tar.xz
llvm-symbolizer: add support for .gnu_debuglink section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188386 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rwxr-xr-xtest/DebugInfo/Inputs/dwarfdump-test.elf-x86-64.debuglinkbin0 -> 8668 bytes
-rw-r--r--test/DebugInfo/llvm-symbolizer.test4
2 files changed, 4 insertions, 0 deletions
diff --git a/test/DebugInfo/Inputs/dwarfdump-test.elf-x86-64.debuglink b/test/DebugInfo/Inputs/dwarfdump-test.elf-x86-64.debuglink
new file mode 100755
index 0000000000..8c08037ea3
--- /dev/null
+++ b/test/DebugInfo/Inputs/dwarfdump-test.elf-x86-64.debuglink
Binary files differ
diff --git a/test/DebugInfo/llvm-symbolizer.test b/test/DebugInfo/llvm-symbolizer.test
index 4dc369948f..cad67954fb 100644
--- a/test/DebugInfo/llvm-symbolizer.test
+++ b/test/DebugInfo/llvm-symbolizer.test
@@ -1,4 +1,5 @@
RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x400559" > %t.input
+RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64.debuglink 0x400559" >> %t.input
RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x400436" >> %t.input
RUN: echo "%p/Inputs/dwarfdump-test4.elf-x86-64 0x62c" >> %t.input
RUN: echo "%p/Inputs/dwarfdump-inl-test.elf-x86-64 0x710" >> %t.input
@@ -13,6 +14,9 @@ RUN: --default-arch=i386 < %t.input | FileCheck %s
CHECK: main
CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16
+CHECK: main
+CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16
+
CHECK: _start
CHECK: _Z1cv