• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x40113f" > %t.input
2RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x401020" >> %t.input
3RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x40110e" >> %t.input
4RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x401160" >> %t.input
5RUN: echo "%p/Inputs/dwarfdump-test2.elf-x86-64 0x4004e8" >> %t.input
6RUN: echo "%p/Inputs/dwarfdump-test2.elf-x86-64 0x4004f4" >> %t.input
7RUN: echo "%p/Inputs/dwarfdump-test4.elf-x86-64 0x62c" >> %t.input
8
9RUN: llvm-symbolizer < %t.input | FileCheck %s
10
11CHECK:       main
12CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16
13
14CHECK:      _start
15
16CHECK:      f(int, int)
17CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:11
18
19CHECK:      DummyClass
20CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:4
21
22CHECK:      a
23CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test2-helper.cc:2
24
25CHECK:      main
26CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test2-main.cc:4
27
28CHECK:      c()
29CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test4-part1.cc:2
30