llvm-symbolizer: add support for .gnu_debuglink section
[oota-llvm.git] / test / DebugInfo / llvm-symbolizer.test
index 4dc369948fde5a7f2c8e5fd6da627386b0e62b5f..cad67954fb3a4f7a3cffbf47190c3fa717c197f5 100644 (file)
@@ -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