diff options
Diffstat (limited to 'test/DebugInfo')
-rwxr-xr-x | test/DebugInfo/Inputs/dwarfdump-test.elf-x86-64 | bin | 10246 -> 10174 bytes | |||
-rwxr-xr-x | test/DebugInfo/Inputs/dwarfdump-test2.elf-x86-64 | bin | 7774 -> 7702 bytes | |||
-rwxr-xr-x | test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64 | bin | 6794 -> 7339 bytes | |||
-rw-r--r-- | test/DebugInfo/dwarfdump-test.test | 24 |
4 files changed, 17 insertions, 7 deletions
diff --git a/test/DebugInfo/Inputs/dwarfdump-test.elf-x86-64 b/test/DebugInfo/Inputs/dwarfdump-test.elf-x86-64 Binary files differindex 7cee968..fe20c8e 100755 --- a/test/DebugInfo/Inputs/dwarfdump-test.elf-x86-64 +++ b/test/DebugInfo/Inputs/dwarfdump-test.elf-x86-64 diff --git a/test/DebugInfo/Inputs/dwarfdump-test2.elf-x86-64 b/test/DebugInfo/Inputs/dwarfdump-test2.elf-x86-64 Binary files differindex a226e79..ce4af7f 100755 --- a/test/DebugInfo/Inputs/dwarfdump-test2.elf-x86-64 +++ b/test/DebugInfo/Inputs/dwarfdump-test2.elf-x86-64 diff --git a/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64 b/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64 Binary files differindex fb3ca03..7c17304 100755 --- a/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64 +++ b/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64 diff --git a/test/DebugInfo/dwarfdump-test.test b/test/DebugInfo/dwarfdump-test.test index 7b01e38..beac51f 100644 --- a/test/DebugInfo/dwarfdump-test.test +++ b/test/DebugInfo/dwarfdump-test.test @@ -9,22 +9,32 @@ RUN: --address=0x4004b8 --functions | FileCheck %s -check-prefix MANY_CU_1 RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test2.elf-x86-64 \ RUN: --address=0x4004c4 --functions | FileCheck %s -check-prefix MANY_CU_2 RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test3.elf-x86-64 \ -RUN: --address=0x538 --functions | FileCheck %s -check-prefix ABS_ORIGIN_1 +RUN: --address=0x580 --functions | FileCheck %s -check-prefix ABS_ORIGIN_1 +RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test3.elf-x86-64 \ +RUN: --address=0x573 --functions | FileCheck %s -check-prefix INCLUDE_TEST_1 +RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test3.elf-x86-64 \ +RUN: --address=0x56d --functions | FileCheck %s -check-prefix INCLUDE_TEST_2 MAIN: main -MAIN-NEXT: dwarfdump-test.cc:16:10 +MAIN-NEXT: /tmp/dbginfo/dwarfdump-test.cc:16:10 FUNCTION: _Z1fii -FUNCTION-NEXT: dwarfdump-test.cc:11:18 +FUNCTION-NEXT: /tmp/dbginfo/dwarfdump-test.cc:11:18 CTOR_WITH_SPEC: _ZN10DummyClassC1Ei -CTOR_WITH_SPEC-NEXT: dwarfdump-test.cc:4:30 +CTOR_WITH_SPEC-NEXT: /tmp/dbginfo/dwarfdump-test.cc:4:30 MANY_CU_1: a -MANY_CU_1-NEXT: a.cc:2:0 +MANY_CU_1-NEXT: /tmp/dbginfo/a.cc:2:0 MANY_CU_2: main -MANY_CU_2-NEXT: main.cc:4:0 +MANY_CU_2-NEXT: /tmp/dbginfo/main.cc:4:0 ABS_ORIGIN_1: C -ABS_ORIGIN_1-NEXT: def.cc:3:0 +ABS_ORIGIN_1-NEXT: /tmp/dbginfo/def2.cc:4:0 + +INCLUDE_TEST_1: _Z3do2v +INCLUDE_TEST_1-NEXT: /tmp/dbginfo/include/decl2.h:1:0 + +INCLUDE_TEST_2: _Z3do1v +INCLUDE_TEST_2-NEXT: /tmp/include/decl.h:5:0 |