[lib/ObjectYAML] - Change interface to return `bool` instead of `int`. NFCI
[llvm-complete.git] / test / DebugInfo / symbolize.test
blob8b43a11cd0ce1748e3edac4a419e9cdb2bec462b
1 RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x40113f" > %t.input
2 RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x401020" >> %t.input
3 RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x40110e" >> %t.input
4 RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x401160" >> %t.input
5 RUN: echo "%p/Inputs/dwarfdump-test2.elf-x86-64 0x4004e8" >> %t.input
6 RUN: echo "%p/Inputs/dwarfdump-test2.elf-x86-64 0x4004f4" >> %t.input
7 RUN: echo "%p/Inputs/dwarfdump-test4.elf-x86-64 0x62c" >> %t.input
9 RUN: llvm-symbolizer < %t.input | FileCheck %s
11 CHECK:       main
12 CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16
14 CHECK:      _start
16 CHECK:      f(int, int)
17 CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:11
19 CHECK:      DummyClass
20 CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:4
22 CHECK:      a
23 CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test2-helper.cc:2
25 CHECK:      main
26 CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test2-main.cc:4
28 CHECK:      c()
29 CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test4-part1.cc:2