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