Alexey Samsonov | 5eae90d | 2012-09-04 08:12:33 +0000 | [diff] [blame^] | 1 | RUN: llvm-dwarfdump %p/Inputs/dwarfdump-inl-test.elf-x86-64 --address=0x613 \ |
| 2 | RUN: --inlining --functions | FileCheck %s -check-prefix DEEP_STACK |
| 3 | RUN: llvm-dwarfdump %p/Inputs/dwarfdump-inl-test.elf-x86-64 --address=0x6de \ |
| 4 | RUN: --inlining | FileCheck %s -check-prefix SHORTER_STACK |
| 5 | RUN: llvm-dwarfdump %p/Inputs/dwarfdump-inl-test.elf-x86-64 --address=0x685 \ |
| 6 | RUN: --inlining | FileCheck %s -check-prefix SHORT_STACK |
| 7 | RUN: llvm-dwarfdump %p/Inputs/dwarfdump-inl-test.elf-x86-64 --address=0x640 \ |
| 8 | RUN: --functions | FileCheck %s -check-prefix INL_FUNC_NAME |
| 9 | |
| 10 | DEEP_STACK: inlined_h |
| 11 | DEEP_STACK-NEXT: header.h:2:21 |
| 12 | DEEP_STACK-NEXT: inlined_g |
| 13 | DEEP_STACK-NEXT: header.h:7 |
| 14 | DEEP_STACK-NEXT: inlined_f |
| 15 | DEEP_STACK-NEXT: main.cc:3 |
| 16 | DEEP_STACK-NEXT: main |
| 17 | DEEP_STACK-NEXT: main.cc:8 |
| 18 | |
| 19 | SHORTER_STACK: header.h:7:20 |
| 20 | SHORTER_STACK-NEXT: main.cc:3 |
| 21 | SHORTER_STACK-NEXT: main.cc:8 |
| 22 | |
| 23 | SHORT_STACK: main.cc:3:20 |
| 24 | SHORT_STACK-NEXT: main.cc:8 |
| 25 | |
| 26 | INL_FUNC_NAME: inlined_g |
| 27 | INL_FUNC_NAME-NEXT: header.h:7:20 |
| 28 | |