2018-12-21 23:25:01 +01:00
|
|
|
RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x40113f" > %t.input
|
|
|
|
RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x401020" >> %t.input
|
|
|
|
RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x40110e" >> %t.input
|
|
|
|
RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x401160" >> %t.input
|
2017-08-15 23:02:17 +02:00
|
|
|
RUN: echo "%p/Inputs/dwarfdump-test2.elf-x86-64 0x4004e8" >> %t.input
|
|
|
|
RUN: echo "%p/Inputs/dwarfdump-test2.elf-x86-64 0x4004f4" >> %t.input
|
|
|
|
RUN: echo "%p/Inputs/dwarfdump-test4.elf-x86-64 0x62c" >> %t.input
|
2013-04-05 10:30:13 +02:00
|
|
|
|
2019-02-01 11:24:55 +01:00
|
|
|
RUN: llvm-symbolizer < %t.input | FileCheck %s
|
2016-04-22 23:32:59 +02:00
|
|
|
|
2013-04-05 10:30:13 +02:00
|
|
|
CHECK: main
|
|
|
|
CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16
|
2013-06-04 09:57:38 +02:00
|
|
|
|
|
|
|
CHECK: _start
|
|
|
|
|
2019-02-01 11:24:55 +01:00
|
|
|
CHECK: f(int, int)
|
2014-05-19 20:45:32 +02:00
|
|
|
CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:11
|
|
|
|
|
2019-02-01 11:24:55 +01:00
|
|
|
CHECK: DummyClass
|
2014-05-19 20:45:32 +02:00
|
|
|
CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:4
|
|
|
|
|
2019-02-01 11:24:55 +01:00
|
|
|
CHECK: a
|
2014-05-19 20:45:32 +02:00
|
|
|
CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test2-helper.cc:2
|
|
|
|
|
2019-02-01 11:24:55 +01:00
|
|
|
CHECK: main
|
2014-05-19 20:45:32 +02:00
|
|
|
CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test2-main.cc:4
|
|
|
|
|
2019-02-01 11:24:55 +01:00
|
|
|
CHECK: c()
|
2013-04-05 10:30:13 +02:00
|
|
|
CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test4-part1.cc:2
|